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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 23 11:35:27 CEST 2013


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

--- Comment #23 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 22305
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22305&action=edit
Bug 7019: [3.10.x] Circulation History Sort Order Wrong (in datatable)

The "return date" column sort is not using the date sort algorithm because it
is
confused by the combination of date data and text data ("Checked out").

This patch adds the use of datatable "title-string" sort type.
With that, the date in ISO format are used for sorting and because letters are
before numbers, "Checked out" rows are more recent than any date.

Test plan :
- set dateformat syspref to "dd/mm/yyyy"
- Go to members/readingrec.pl for a borrower having a old issues and
checked out issues
=> Check that sort of "Return date" is correct.
For example :
With patch :
  20/01/2011
  06/03/2011
  20/03/2011
  Checked Out
Without patch :
  06/03/2011
  20/01/2011
  20/03/2011
  Checked Out
- Test also with dateformat syspref "mm/dd/yyyy"

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


More information about the Koha-bugs mailing list