From 1f2db1bb5261c721c78762865286beec84573753 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 3 Nov 2025 16:19:27 +0100 Subject: [PATCH] Bug 41172: Same for the other occurrence --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index e322f6688df..ff2836683a0 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -285,11 +285,16 @@ function LoadIssuesTable() { visible: false, }, { - orderData: 10, // Sort on hidden unformatted issuedate column - data: function (oObj) { - return $datetime(oObj.issuedate, { - no_tz_adjust: true, - }); + data: { + _: function (row, type, set, meta) { + let oObj = row; + return $datetime(oObj.issuedate, { + no_tz_adjust: true, + }); + }, + _: function (row, type, set, meta) { + return row.issuedate; + }, }, }, { -- 2.34.1