]> git.koha-community.org Git - koha.git/commit
Bug 21562: Fix sort by checkout date in the circulation table
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 22 Oct 2018 19:51:25 +0000 (16:51 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 6 Nov 2018 13:46:24 +0000 (13:46 +0000)
commite279cd0d3ac42ce054b3390003b9f0e8334f127d
tree60e4ef0ba9254fc22609706308ea714c3bb8e87f
parent3d751067b771051e160e8d834fe346276ec93e12
Bug 21562: Fix sort by checkout date in the circulation table

The sort is done in SQL but resort by DataTables when displaying the
results.
iDataSort should be used to mimick date_due sort behavior.

Test plan:
- Check some items out
- Modify the checkout and due dates, like:
    2018-10-22
    2018-01-23
    2018-05-27
- Sort by checkout date, then due date. The sort should be correct for
all values of the DateFormat syspref

Followed test plan, patch works as described and passes QA test tool

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit f32ee27deb7abe531ad5e5db5242f7243e3baa8d)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js