[Koha-bugs] [Bug 23427] Better sorting of previous checkouts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 5 15:32:48 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23427

--- Comment #1 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 91993
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91993&action=edit
Bug 23427: fix previous checkouts sort order

In patron circulation or details page, previous checkouts are displayed sorted
by due date.
Actual sort order is not honoring system preference
"previousIssuesDefaultSortOrder". Todays's checkouts is correct thanks to Bug
13908.

Patch adds comments that refer to the text of system preferences
"previousIssuesDefaultSortOrder" and "TodayIssuesDefaultSortOrder" :
  latest to earliest = asc
  earliest to latest = desc

Test plan :
1) Create for a patron two old issues with a few days between them
2) Set preference previousIssuesDefaultSortOrder = "latest to earliest"
3) Go to patron circulation page and check sort order is OK
4) Go to patron details page and check sort order is OK
5) Set preference previousIssuesDefaultSortOrder = "earliest to latest"
6) Go to patron circulation page and check sort order is OK
7) Go to patron details page and check sort order is OK

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list