Re: Search template: How can I check "Sort Descending" by default?

"Hancock, David (DHANCOCK)" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
I hope this gets filed correctly. I’m a digest subscriber.

John Rouillard provided a a very easy fix. Change the sort_desc linw in the tal:define near the top of issue.search.html to:


sort_desc python:(sort_on and sort_on[0] == '-') or (not sort_on);

That worked nicely. John also added some great information about how he got to that fix.

I appreciate the help!

Cheers!
--
David Hancock | [email protected]<mailto:[email protected]>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Roundup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/roundup-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.