[ http://jira.codehaus.org/browse/DISPL-286?page=comments#action_62555 ] 

Marcus Pecher commented on DISPL-286:
-------------------------------------

I get the same thing.
I have wrapped the list in a PaginatedList. I can sort b/w different columns, 
but re-clicking on a column that is already sorted, does not switch sorting b/w 
asc/desc and vice-versa.

I have noticed though in checking the URL of the browser, I am able change one 
of the request parameters manually, that my it will then sort correctly 
(ie. http://foo/external-pagination.jsp?sort=balance&searchid=1&dir=asc
to http://foo/external-pagination.jsp?sort=balance&searchid=1&dir=desc).
The links seem to always get rendered on what is currently sorted (not the 
opposite).

Will attempt to look through displaytag code and try and see what's going on.

> Not changed "dir" param
> -----------------------
>
>          Key: DISPL-286
>          URL: http://jira.codehaus.org/browse/DISPL-286
>      Project: DisplayTag
>         Type: Bug

>   Components: Paging/Sorting
>     Versions: 1.1
>     Reporter: Dmitry Tsigelnik
>      Fix For: 1.1.1

>
>
> I use PaginatedList. Taglib generates sort url like this 
> http://localhost:8080/casper/dict/listMobCodes.htm?discriminatorName=def&sort=operName&discriminatorValue=&dir=asc
>  in column header
> When I click on this url dir param not changed on desc. "dir" param always acs

-- 
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to