Bug 13069

Summary: Enable sort by title to ignore articles on circulation and patron detail pages
Product: Koha Reporter: Owen Leonard <oleonard>
Component: CirculationAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: chris, gmcharlt, kyle.m.hall, mtompset, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 13069 - Enable sort by title to ignore articles on circulation and patron detail pages
Bug 13069 - Enable sort by title to ignore articles on circulation and patron detail pages
Bug 13069 - (follow-up) Enable sort by title to ignore articles
Bug 13069 - Enable sort by title to ignore articles on circulation and patron detail pages
Bug 13069 - (follow-up) Enable sort by title to ignore articles
[PASSED QA] Bug 13069 - Enable sort by title to ignore articles on circulation and patron detail pages
[PASSED QA] Bug 13069 - (follow-up) Enable sort by title to ignore articles

Description Owen Leonard 2014-10-10 16:41:09 UTC
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.
Comment 1 Owen Leonard 2014-10-10 16:55:47 UTC Comment hidden (obsolete)
Comment 2 Jonathan Druart 2014-10-11 14:55:06 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2014-10-11 14:55:11 UTC Comment hidden (obsolete)
Comment 4 Tomás Cohen Arazi (tcohen) 2014-11-21 23:48:42 UTC
Guys, can you ammend both patches so they apply? They seem trivial but I need to focus on other patches right now for string freeze.
Comment 5 Tomás Cohen Arazi (tcohen) 2014-11-21 23:51:10 UTC
Wrong option chosen :-P
Comment 6 Mark Tompsett 2015-03-31 03:04:30 UTC Comment hidden (obsolete)
Comment 7 Mark Tompsett 2015-03-31 03:04:39 UTC Comment hidden (obsolete)
Comment 8 Mark Tompsett 2015-03-31 03:06:19 UTC
I'm not sure if this should be back to Passed QA or what, but since I fixed it and signed it off. I'll let someone else figure out what's next.
Comment 9 Kyle M Hall (khall) 2015-04-03 17:45:54 UTC
Created attachment 37479 [details] [review]
[PASSED QA] 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>
Comment 10 Kyle M Hall (khall) 2015-04-03 17:45:59 UTC
Created attachment 37480 [details] [review]
[PASSED QA] Bug 13069 - (follow-up) Enable sort by title to ignore articles

This should affect the relatives' checkouts table too.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

NOTE: This is the one later in the javascript file.
      Checkout tab on the patron details page.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 11 Tomás Cohen Arazi (tcohen) 2015-04-13 13:38:21 UTC
Patches pushed to master.

Thanks Martin!
Comment 12 Chris Cormack 2015-04-20 10:19:36 UTC
Pushed to 3.18.x will be in 3.18.6