From ff3e4880d17c41c691b9e50044e960a5457d1b61 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 18 Aug 2020 08:54:43 +0000 Subject: [PATCH] Bug 26233: (bug 25553 follow-up) Make date columns sortable on the edit items table We were missing to pass the title-string to datatables. Test plan: Retest bug 26233, with appropriate dates Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js index e3e746764a..51e920b997 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js +++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js @@ -47,6 +47,7 @@ $(document).ready(function(){ var itemst = KohaTable("itemst", { "aoColumnDefs": [ { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, + { "aTargets": [ "title-string" ], "sType": "title-string" }, ], 'bPaginate': false, 'bInfo': false, -- 2.28.0