]> git.koha-community.org Git - koha.git/commit
Bug 13168 - "Today's checkouts" sort improperly because issuedate lacks seconds.
authorOlli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Thu, 30 Oct 2014 12:57:09 +0000 (14:57 +0200)
committerMason James <mtj@kohaaloha.com>
Mon, 19 Jan 2015 14:43:23 +0000 (03:43 +1300)
commita2887ac9cfe6053515aae60a3d95acc4fa41bbbb
treeec2e9429a845422df68c0b603e6bfddc67d437ce
parentf5a69334b61834b8c3366d4eaff83dfd8ce69524
Bug 13168 - "Today's checkouts" sort improperly because issuedate lacks seconds.

TO REPLICATE:

Prepare a bunch of Items (6+) for checking out, or have a set of barcodes ready for copy-pasting.
Check-out those items quickly within one minute and observe that the sorting order is not always from the first checkout to the last.

This is because the issuedate doesn't have seconds defined.

AFTER THIS

The bunch of Items is sorted properly.

Tiny patch, works as expected. Passed QA script.
Signed-off-by: Marc Veron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
C4/Circulation.pm