]> git.koha-community.org Git - koha.git/commit
Bug 11203 - Datatables in acqusitions do not ignore "stopwords" in titles
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 5 Nov 2013 16:31:20 +0000 (11:31 -0500)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 16 May 2016 10:02:11 +0000 (12:02 +0200)
commit629b4f1136648b9dcf0d47fef79eea18eb3c675a
tree4e051e3ad624708db3bc955f0a29463b50284ee9
parent739ad1aebd2fd04e6ab97edf44ae6802f2bae6db
Bug 11203 - Datatables in acqusitions 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
7) Check acqui/basket.pl for correct sorting
8) Check acqui/invoice.pl for correct sorting

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 8e9e56d0d4aefef9ef7bd7bc48d9e859aadc465e)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt