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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 16 10:21:13 CEST 2019


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

Michal Denar <black23 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #91993|0                           |1
        is obsolete|                            |

--- Comment #3 from Michal Denar <black23 at gmail.com> ---
Created attachment 94259
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94259&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

Signed-off-by: Michal Denar <black23 at gmail.com>

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


More information about the Koha-bugs mailing list