From db45e7458e74e03c3c590c980a062fe77e47ffc0 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 19 Dec 2019 13:19:11 +0000 Subject: [PATCH] Bug 24275: Apply anti-the to title column in inventory table To test: 1 - Go to Tools->Inventory 2 - Click submit (or add options to get a subset of titles) 3 - Try sorting by title, note that titles with leading articles sort including the articles 4 - Apply patch 5 - Reload the page 6 - Note that leading articles are ignored for sorting Signed-off-by: Deb Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit 1ce12800177a0a32c26d6f5b86d87f7dad366971) Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index 7739c83527..18379a1c86 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -181,7 +181,7 @@ Barcode Call number Library - Title + Title Not for loan Lost Damaged @@ -305,6 +305,7 @@ [% ELSE %] // first column contains checkboxes "aoColumnDefs": [ + { "sType": "anti-the", "aTargets" : [ "anti-the" ] }, { "bSortable": false, "bSearchable": false, "aTargets": [ 0 ] }, ], // 3rd column is callnumber -- 2.39.5