Tags:
create new tag
view all tags

Question

I am using a Form to create pages with title Abcd2026Jul05

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 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.

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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-07-07 - 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.