From 4036ef5cfbb5aacd09f39ee28b7a423886a92f77 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 --- 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.11.0