Bug 25890: Update sorting column for checkouts table
authorNick Clemens <nick@bywatersolutions.com>
Mon, 29 Jun 2020 11:04:59 +0000 (11:04 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 9 Jul 2020 09:50:42 +0000 (11:50 +0200)
Test plan:
- Check some items out, all from different libraries
- Modify the checkout and due dates, like:
    2018-10-22
    2018-01-23
    2018-05-27
- Sort by checkout date, verify it is actually sorting on homebranch
- Apply patch
- Reload page
- Note you can now sort items correctly

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

koha-tmpl/intranet-tmpl/prog/js/checkouts.js

index 1b9b4a2..6e639bc 100644 (file)
@@ -377,7 +377,7 @@ $(document).ready(function() {
                     "bVisible": false,
                 },
                 {
-                    "iDataSort": 9, // Sort on hidden unformatted issuedate column
+                    "iDataSort": 10, // Sort on hidden unformatted issuedate column
                     "mDataProp": "issuedate_formatted",
                 },
                 {