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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-07-01 - BrendaKliethermes
 
  • 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.