Defect #29

sort field is lost, when displaying next part of issues list

Added by Pavol Murin 524 days ago. Updated 523 days ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-

Description

Hello Jean-Philippe,
I think I found a bug when displaying issues. To see it, you must have more than one page of issues. to navigate through an ordered issues list.

1. change sorting, e.g. click on "Sort by #" 
2. go to the next page (click on "next" on the bottom of the list)
3. -> BUG  -> I would expect the list to keep the ordering, however the ordering chagnes. So it is not possible

If you have troubles replicating the bug, let me know.

Bye, Pavol

History

2007-04-02 06:03 - Pavol Murin

I found the problem - it is within the sort_helper. It is
necessary to update to the latest version (it works with
this one: http://www.methods.co.nz/misc/sort_helper.rb ).

It is then necessary to change the calls to "sort_init
"#{Issue.table_name}, "desc" to
"sort_init
#{Issue.table_name}, {:default_order => 'desc'}"
because
there is a change in sort_init parameters.

Bye, Pavol

2007-04-02 06:32 - Pavol Murin

I'm sorry - I was wrong. I don't know what is causing it.
Unfortunately, my fix doesn't work - it still doesn't sort.

2007-04-03 13:47 - Jean-Philippe Lang

Fixed. A regression happened.

Also available in: Atom PDF