From eba161833cee7332880fd70a48bab1dbfbaefd7c Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 5 Nov 2013 11:31:20 -0500 Subject: [PATCH] Bug 11203 - Datatables on parcel.pl do not ignore "stopwords" in titles Sorting by the "summary" column does not produce the preferred results. Title beginning with 'a', 'an', or 'the' are sorted using those articles. Test plan: 1) Place an order for 2 items with the titles "Alpha" and "The Alpha", along with some other records with titles starting with something between 'a' and 't', and 't' and 'z' 2) Sort the "pending orders" table, note the incorrect sorting 3) Receive all the items 4) Sort the "already received" table, note the incorrect sorting 5) Apply the patch 6) Repeat steps 1-4, note the corrected sorting --- .../intranet-tmpl/prog/en/modules/acqui/parcel.tt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index db6783b..217bc23 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -24,7 +24,7 @@ "aoColumns": [ { "sType": "num-html" }, { "sType": "num-html" }, - { "sType": "html" }, + { "sType": "anti-the" }, null, null, null, @@ -65,7 +65,7 @@ { "sType": "num-html" }, { "sType": "num-html" }, { "sType": "html" }, - { "sType": "html" }, + { "sType": "anti-the" }, null, null, null, -- 1.7.2.5