List "Order by" Issue

Status
Not open for further replies.

rackem

Well-Known Member
I have a list with an element set to "allow ordering" in the list view settings. The "order by" setting for the list is set to by "id" descending.

The list displays correctly at first (by "id" descending). Then I click the column link to cycle through the element's ordering (ascending, descending, off). The issue is that the list setting is not maintained when the element ordering gets to off. Now the list is ordered by "id" ascending.

You can see the issue by cycling the ordering on the "Effect on Rating" column here:

http://www.mypoolstats.com/index.ph..._raw=29&mpsV_match_diff_10___rating_id_raw=10

Note the "id" column won't normally be displayed but it is on to help illustrate the issue.
 
Hmm, after updating from Github, cycling the ordering to off doesn't change the sort from the previous state.

Here is the last part of the queries returned when using &fabrikdebug=1

Click on link: ...ORDER BY `mpsV_match_diff_10`.`id` DESC
Cycle 1: ...ORDER BY `mpsV_match_diff_10___plyr_diff_10` asc
Cycle 2: ...ORDER BY `mpsV_match_diff_10___plyr_diff_10` desc
Cycle 3 (should be off): ...ORDER BY `mpsV_match_diff_10`.`plyr_diff_10` DESC

The highlighted text should be `id`.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top