Closed (fixed)
Project:
DraggableViews
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2009 at 16:15 UTC
Updated:
29 Sep 2009 at 21:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
sevi commentedThe problem was that $view->total_rows will not always be calculated (if paging is not used).
The attached patch makes it work even if paging is not used.
No, it's not possible. Why would you ever want to do this? The order values should not be interesting for the user.
Nevertheless there's an easy way to sort the view upside down:
Add the order field a second time (only for display) and activate "click sort" for this field by clicking the checkbox "sortable" at the style-plugin settings. Now you can sort by this field in descending order. (at the view output).
Greetings,
sevi
Comment #2
sevi commentedComment #3
sevi commentedSince the code changed very much in the meanwhile I'll close this issue now.
Reopen a new issue if needed.