[ http://jira.codehaus.org/browse/DISPL-208?page=comments#action_40502 ] Ling Thio commented on DISPL-208: ---------------------------------
It would be great if it would work like this: <display:table name="command" defaultorder="ascending"> <display:column property="feature" title="Feature" /> <display:column property="popularity" title="Popularity" defaultorder="descending" /> </display:table> Clicking on name would sort it by name in ascending order (table defaultorder since it was not specified in column). Clicking on name again would sort it by name in descending order. Clicking on votes would sort it by votes in descending order (column defaultorder). Clicking on votes again would sort it by votes in ascending order. > Column level default sort order > ------------------------------- > > Key: DISPL-208 > URL: http://jira.codehaus.org/browse/DISPL-208 > Project: DisplayTag > Type: New Feature > Components: Paging/Sorting > Versions: 1.0 > Reporter: Brian Guan > > > When user clicks on a sortable column that is NOT currently sorted, the sort > order is always ascending. My project needs to have different default sort > order per column. > Related to http://jira.codehaus.org/browse/DISPL-39 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel