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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 13 Apr 2015 12:54:22 +0000 (09:54 -0300)
commit9b44647509e4d08029760bae25703b049a4bda30
tree938bc27eb2ebddae97ec9ffca3958b4da7362afa
parent653686cee9cd3032642933427d86ec9331612607
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>
koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js