]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 17 Nov 2014 00:24:28 +0000 (21:24 -0300)
commit15613a02943218dd844fd617b4319d2e071dfd23
tree19a3ff6e9cc891c27a59d3104d30e3f3d31f71bc
parent866017e1523ec430d4ec37fc92a02edb86c106e5
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: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Circulation.pm