[Koha-bugs] [Bug 7019] Circulation History Sort Order Wrong

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 13 18:09:16 CEST 2011


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|kyle.m.hall at gmail.com       |oleonard at myacpl.org

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> 2011-10-13 16:09:16 UTC ---
Created attachment 5877
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5877
Proposed fix

The return column sort was not using the right sort algorithm
because it was confused by the combination of date data and
text data ("Checked out"). I've added an explicit instruction
to sort by date. The downside to this change is that checked
out items are sorted with the oldest checkouts rather than
the newest:

Checked Out
Checked Out
10/14/1988
07/14/2005

Not perfect, but an improvement over completely incorrect
sorting. This patch also adds the necessary check for system
dateformat preference to properly sort metric dates.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list