]> git.koha-community.org Git - koha.git/commit
Fix for Bug 7019 - Circulation History Sort Order Wrong
authorOwen Leonard <oleonard@myacpl.org>
Thu, 13 Oct 2011 15:59:48 +0000 (11:59 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 19 Oct 2011 20:05:18 +0000 (16:05 -0400)
commitb262ab329e93e297c194b8afd285ca78eb16dfa6
tree090e3e4d9f6acea78523d9b19e68bea19fd25d26
parent2f610df500712a091930e7338136584a506af7c2
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@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit bfaf07b2780ed033677683ef40ce04e55d7c2b3d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt