]> 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>
Thu, 22 Jan 2015 17:51:39 +0000 (06:51 +1300)
commit3a8e521641553ecdf7392252f894b890b8306618
tree46fce262a0a9ced2a9b48a6d6fd4909a95384146
parent7f0b3d0bc4868f46ebdd272a5303876a7cbe6110
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