Tags:
create new tag
view all tags

Question

I'm trying to customize BugsContrib. Basicly I edited the ItemTemplateTopic, the Tabulator topic and adjusted all the include requests amde by the topics or link. Thin is I never get any results except when I give a value to the LIMIT var. When I do so, I get a list of results completly disregarding the other criterias I assigned.

Here's my search request:

%STARTINCLUDE%

<!--%<nop>TABLE{sort="on" footerrows="1" initsort="2" initdirection="down"}% -->

%SEARCH{"META:FIELD{name=.Holder.*?value=.(%URLPARAM{"holder" default="%HOLDER%"}%);META:FIELD{name=.Status.*?value=.(%URLPARAM{"status" default="%STATUS%"}%);META:FIELD{name=.Summary.*?value=.(%URLPARAM{"summary" default="%SUMMARY%"}%);META:FIELD{name=.Customer.*?value=.(%URLPARAM{"customer" default="%CUSTOMER%"}%)" web="%INCLUDINGWEB%"
    excludetopic="ItemTemplate"
    topic="Item*"
    type="regex"
    nosearch="on"
    order="modified"
    reverse="on"
    limit="%URLPARAM{"limit" default="%LIMIT%"}%"
    nototal="on"
    header="| *Id* | *Summary* | *Date Opened* | *Customer* | *Status* | *Holder* | *Last Edit* |"
    format="| [[$web.$topic][$topic]]  | $formfield(Summary) | $createdate | $formfield(Customer) | $formfield(Status) | $formfield(Holder) | $date |"
}%
| *Id* | *Summary* | %CALC{"$COUNTITEMS( R2:C$COLUMN()..R$ROW(-1):C$COLUMN() )"}% | %CALC{"$COUNTITEMS( R2:C$COLUMN()..R$ROW(-1):C$COLUMN() )"}%  | %CALC{"$COUNTITEMS( R2:C$COLUMN()..R$ROW(-1):C$COLUMN() )"}% | %CALC{"$COUNTITEMS(R2:C$COLUMN()..R$ROW(-1):C$COLUMN() )"}% | Last Edit |
</font>


%STOPINCLUDE%

And my ItemTemplate form:

| *Name*  | *Type* | *Size* | *Values* | *Tooltip message* | *Attributes* |
| | label | | <h3>Customer</h3> TWiki name of the customer. ||
| Customer | text | 35 | | | M |
| | label | | <h3>Summary</h3>One-line summary | | |
| Summary | text | 85 | | | M |
|| label || <h3>Holder</h3> TWiki name of the holder. | | |
| Holder | select | 1 |  %SEARCH{"Last Name" noheader="on" nosearch="on" nosummary="on" web="Main" nototal="on" format="Main.$topic, "}% | | M |
|| label || <h3>Status</h3> Status of the issue. | | |
| Status | select | 1 | Open, Closed | | M |
| | label | | <h3>Symptom</h3> Who reported it? Give a detailed description. | |
| Symptom| textarea | 80x5 | | | M |
| | label | | <h3>Cause</h3>Who found it, when, what mechanism? Give a precise description. | | |
| Cause | textarea | 80x5 | | | |
| | label | | <h3>Remedy</h3> Who prescribed it, when? Give a detailed description. | | |
| Remedy | textarea | 80x5 | | | |
| | label | | <h3>Quality</h3> Write here what possible modification in Infodev's procedures could avoid TheCause. Possible targets of the modification: Sale, product design, fabrication, delivery, installation, traning, closing (testing, tying up all loose ends, providing Conformity to requirments), billing, servicing. _Note that all closed issues must have something writen here even if just "no change beacause..."_| | |
| Quality | textarea | 80x5 | | | |

Finaly the INCLUDE for AllOutStandingItems

---+++ Active Bugs
%INCLUDE{
        "Issues.Tabulator"
          STATUS="Open"
          SUMMARY=".*?"
          CUSTOMER=".*?"
          HOLDER=".*?"
          LIMIT = ""
}%

Do you know what's wrong?

TIA

Environment

TWiki version: TWikiRelease04x00x03
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: OpenBSD
Web server: Apache 1.3
Perl version: 5.6.1
Client OS: Windows 2000
Web Browser: Firefox 1.5.0.4
Categories: Plugins

-- MarcBoivin - 05 Jul 2006

Answer

Solve. It was because my meta:field were separeted by linebreaks... really odd.

-- MarcBoivin - 05 Jul 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-07-05 - ArthurClemens
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.