]> git.koha-community.org Git - koha.git/commit
Bug 13908 - Checkouts table sorting is not honoring default sort preferences
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 25 Mar 2015 15:33:48 +0000 (11:33 -0400)
committerChris Cormack <chris@bigballofwax.co.nz>
Sat, 11 Apr 2015 02:51:53 +0000 (14:51 +1200)
commit1d153828219580b9850710aa0ce2bfd5e37e15c2
treeb5e2cefc69da9d9b2eb1fa8a7dcf26628dec603c
parent9edcfd4ddd8aa9cf9254f45b7433c728888527b4
Bug 13908 - Checkouts table sorting is not honoring default sort preferences

The checkouts table no longer honors the system preferences
todaysIssuesDefaultSortOrder and previousIssuesDefaultSortOrder.

This causes much frustration for librarians who prefer a different sort
order. In particular, many librarians prefer to see the oldest previous
issues at the top of the list so those overdue items are visible "above
the fold".

Test Plan:
1) Apply this patch
2) Find a patron with many previous checkouts due on different days
3) Try all 4 combinations of todaysIssuesDefaultSortOrder and previousIssuesDefaultSortOrder
4) Note they all sort correctly

Signed-off-by: Sean McGarvey <seanm@pascolibraries.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit c76fbbe191782cee691ef405f638048b6d39a2fb)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js
svc/checkouts