Posted by slipsey1 on October 20, 2009 at 12:15am
Jump to:
| Project: | Custom Pagers |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
My views show a list of item in accordance to a specific 'sort criteria'. However, when using previous and next of the custom_pagers module, the order is according to alphabitical order of the node title.
It does seem to use the views filter.
Comments
#1
#358934: Custom_pagers next and previous does not respect the views order
#2
The answer to this problem for me was that my sort order was not granular enough, so sometimes nodes would be out of order between the view display being used and the custom_pager default view settings.
I am sorting on a field called: "sort order" which can be equal, and a then the post date (which was set to day granularity.)
If two items were made the same day the query results between the two views was different. Oddly.
I just set the granularity to seconds and the problem disappeared. Another solution would be to sort on nid lastly.