From c0a5d5d5ebdf616fc953bde319c549e812f88cf9 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 --- 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.11.0