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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 14 15:40:36 CEST 2011


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

Nicole C. Engard <nengard at gmail.com> changed:

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

--- Comment #3 from Nicole C. Engard <nengard at gmail.com> 2011-10-14 13:40:36 UTC ---
Created attachment 5891
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5891
[SIGNED-OFF] Fix for Bug 7019 - Circulation History Sort Order Wrong

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.

Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>

-- 
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