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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 7 13:37:03 CET 2019


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94259|0                           |1
        is obsolete|                            |
  Attachment #94260|0                           |1
        is obsolete|                            |

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 95149
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95149&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>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list