]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 26 Oct 2018 17:09:51 +0000 (17:09 +0000)
commitf32ee27deb7abe531ad5e5db5242f7243e3baa8d
tree5fde269b4eb02c5017779ac9c7622fb38acf52da
parent20cba0d2956de5b1ff38b4a5f4b0f620204930e0
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>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js