https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28764
Bug ID: 28764 Summary: Sorting not correct in pagination on OPAC lists Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: OPAC Assignee: oleon...@myacpl.org Reporter: n...@bywatersolutions.com QA Contact: testo...@bugs.koha-community.org When viewing a list on the OPAC you can force a sorting direction by appending to the sortfield with a colon: sortfield=dateadded:desc When clicking on the next page, however, the direction is formed as: direction=desc&sortfield=dateadded The script doesn't read the 'direction' parameter, so sorting fails To recreate: 1 - Create a public list 2 - Add enough items to generate two pages (40 worked for me) 3 - View the list and enforce sorting by date added descending: sortfield=dateadded:desc 4 - Note the titles shown 5 - Click to second page using the pagination bar 6 - Note the same titles are shown, in a reversed order -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/