[Koha-bugs] [Bug 13982] Checkouts table not sorting on correct column

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 13 13:05:29 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13982

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 37720
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37720&action=edit
Bug 13982 - Checkouts table not sorting on correct column

The "Date Due" column for checkouts is using the column index 1 to sort by.
This column is the one that is used for grouping items into today's checkouts
and previous checkouts. This is definitely not the column that should be used.
Instead, we should be using column index 2, which contains the raw unformatted
due date.

Test Plan:
1) Find a patron with some checkouts
2) Checkout a new item so it is due between the due dates of two
   previously checked out items ( that is, not checked out today )
3) Attempt to sort by due date
4) Note the sorting is incorrect
5) Apply this patch
6) Clear your browser cache
7) Reload the page
8) Attempt to sort by due date again
9) Note the sorting works correctly this time
10) Verify there are no regressions with bug 13908

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


More information about the Koha-bugs mailing list