Tags:
create new tag
, view all tags

Question

I am using a Form to create pages with title Abcd2012May28

Further search these topics using %SEARCH{ "^Abcd200" regex="on" scope="topic" reverse="off" order="modified" nosearch="on" nototal="on" header="" format="   * [[$topic]]" }%

After searching i get the topics in the following order

Where as i want the topics to be arranged by first on the month then date basis, like this

Is there a way i can do this. Any help will be appreciated.

Environment

TWiki version:  
TWiki plugins:  
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- BinuAbraham - 06 Jul 2005

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.

You can easily solve the sorting issue by using dates that are sortable, e.g. the MeetingMinutes applications uses dates such as "MeetingMinutes2005x06x10".

Alternatively, use TWikiForms in your topics with a field named "Date" that has a sortable date such as "2005/06/10". Use a TWikiSearch with =order="formfield(Date)" to sort the search results.

Yet another option is to sort by order="created". This assumes that the topics are created in chronological order.

-- PeterThoeny - 07 Jul 2005

 
Topic revision: r2 - 2005-07-07 - PeterThoeny
 
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.