SID-02004: SEARCH and sort by multiple fields.
| Status: |
Answered |
TWiki version: |
6.0.0 |
Perl version: |
5.14.2 |
| Category: |
CategorySearch |
Server OS: |
Ubuntu |
Last update: |
10 years ago |
I'd like to do a SEARCH where sorting cascades to multiple fields. The
documentation
suggests this is supported but I don't see it working. Am I missing something in the syntax? For example:
%SEARCH{"parent.name='%DEFAULT%'" type="query" sort="formfield(Class), topic"}%
If I limit the sort to one or the other fields it works fine.
--
Michael Sprague - 2014-12-21
Discussion and Answer
This was released in TWiki-6.0.1. Try to just upgrade
lib/TWiki/Search.pm,
SVN:core/lib/TWiki/Search.pm
--
Peter Thoeny - 2014-12-21
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
Peter Thoeny - 2015-12-03
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.