Tags:
create new tag
view all tags

Question

If you are using FormattedSearch (together with the TablePlugin) via the %SEARCH{}% variable then you can sort by column (by clicking on the header) in the result.
Trying to do the same via the bin/search script fails (sorting not possible)


working:
%SEARCH{"wiki" web="Main" scope="topic" header="| *topic* | *date* | *username* |" format="| $web.$topic | $date | $username |"}%

not working:
<form action="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%INTURLENCODE{"%INCLUDINGWEB%"}%/">
     <select name="web">
%WEBLIST{"     <option>$name</option>"}%
     </select> web(s)
   <input type="text" name="search" size="32" />
   <input type="submit" value="Search text" /> 
<input type="hidden" name="format" value="| $web.$topic | $date | $username |"> <input type="hidden" name="header" value="| *topic* | *date* | *username* |"> </form>

Is there a way to get sorting by column working also via forms and the bin/search script...

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, TablePlugin, EditTablePlugin
Server OS: suse linux, kernel 2.4.21-199
Web server: apache 2.0.48
Perl version: 5.8.1
Client OS: suse linux, kernel 2.4.21-199
Web Browser: Netscape/7.1

-- TWikiGuest - 18 Sep 2004

Answer

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2004-11-01 - PeterThoeny
 
  • 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.