Tags:
create new tag
, view all tags

Question

I'm using the search variable to query and display form data. It all seemed to be working beautifully until we tried to search and display across webs.

The results from both webs are retrieved and display, but the table breaks apart and tries to display each web as a separate table.

Here's the syntax for the search variable:

%SEARCH{"[S]tatus.*?value=\"(In progress)\";[A]ssigned.*?value=\"Name"|[P]articipants.*?value=\".*Name*\""
 nosearch="on" regex="on" header="| *Project* | *Assigned* | *Priority* | *Category* | *Target Date* | *Other Participants*
 | *Notes* |" format="| [[$web.$topic][$formfield(Project)]] | $formfield(Assigned) | $formfield(Priority) | $formfield(Category)
 | $formfield(Target date) | $formfield(Participants) | $formfield(Notes) |"  web="all"}%

Is there a way to get all the results to display as a single table regardless of which web the form is in?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, EditTablePlugin, LdapPlugin, TablePlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Forms, Search

-- BrendaKliethermes - 30 Jun 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

All you need to do is to get rid of all decoration which TWiki adds to search results because it does it on a per web base:

   nosearch="on" nosummary="on" nototal="on"
...or, in short
  nonoise="on"
The only backdraw is that there is no search summary for a search over many webs.

-- HaraldJoerg - 01 Jul 2008

Thanks for the help. That solved the problem.

-- BrendaKliethermes - 01 Jul 2008

 
Change status to:
Topic revision: r3 - 2008-07-01 - BrendaKliethermes
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.