]> git.koha-community.org Git - koha.git/commit
Bug 13069 - Enable sort by title to ignore articles on circulation and patron detail...
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Oct 2014 15:22:29 +0000 (15:22 +0000)
committerChris Cormack <chris@bigballofwax.co.nz>
Mon, 20 Apr 2015 10:18:58 +0000 (22:18 +1200)
commit32d0752bb4a512f2c3a716a8a1df4efb4319b636
tree1f7a896d82c5e08b9c5aea4a87ecb0d40cbeb61c
parent4a6473be955bff9e623a6c2b7eeceeccd2bc6a88
Bug 13069 - Enable sort by title to ignore articles on circulation and patron detail pages

With the conversion of the circulation and patron detail checkout
summary tables to AJAX recently we lost the ability to sort by title
while ignoring articles.

This patch corrects the problem by adding the "anti-the" configuration
to the relevant column in the DataTables initializtion script.

To test, apply the patch and clear your cache if necessary. Check out to
a patron who has multiple checkouts, some of which have titles beginning
with "a," "an," and "the." Sorting those checkouts by title should
ignore articles.

Test the patron detail page for that patron as well.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
NOTE: This is the one early in the javascript file.
      This is the one visible by having multiple checkouts
      where the title excluding the articles is a different
      order than titles including the articles.
      Patrons -> Details (scroll down to check out area, view
      checkouts and toggle the title sort)

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 9b44647509e4d08029760bae25703b049a4bda30)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js