Bug 13020 - Checkouts table default ordering is incorrect
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 1 Oct 2014 12:25:02 +0000 (08:25 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 19 Oct 2014 14:30:58 +0000 (11:30 -0300)
commit8848e72d781d53941446bed36d574d9311ffa0fc
tree7953f72ceb50955df2af2e678d436b8e0c4a5621
parentb4b9e0d21224f0f86fdb006f8071590352012bac
Bug 13020 - Checkouts table default ordering is incorrect

The checkouts table is no longer keeping "today's checkouts" in the
order they were scanned.

Test Plan:
1) Create 3 records "Test 1", "Test 2" and "Test 3" each with one item
2) Check out the items to a patron in the order "Test 2", "Test 1", "Test 3".
3) Note the order is incorrect.
4) Apply this patch
5) Refresh the page
6) Note the order is now correct

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Note that the bug already exists before bug 12550. I checked on a 3.14.x
branch (without the ajax circ stuff), and the order is the same as with
this patch.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js
svc/checkouts