Bug 13037

Summary: Staff client cart should exclude articles when sorting by title
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: 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 13037 - Staff client cart should exclude articles when sorting by title
Bug 13037 - Staff client cart should exclude articles when sorting by title
[PASSED QA] Bug 13037 - Staff client cart should exclude articles when sorting by title

Description Owen Leonard 2014-10-07 13:58:54 UTC
The staff client cart's table sorter is not configured to exclude articles when sorting by title.
Comment 1 Owen Leonard 2014-10-07 14:10:53 UTC Comment hidden (obsolete)
Comment 2 Chris Cormack 2014-10-14 14:19:18 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2014-10-16 22:37:52 UTC
Created attachment 32473 [details] [review]
[PASSED QA] Bug 13037 - Staff client cart should exclude articles when sorting by title

This patch modifies the configuration of the staff client cart table
sorting to enable title sorting to ignore articles. Other column sorting
configuration settings are revised to use table header classes instead
of indexes.

To test, add multiple titles to the staff client cart, choosing several
titles which begin with articles ("a," "an," or "the" in English). View
the cart and test sorting of all columns. Sorting by title should sort
correctly while ignoring articles. Other columns should sort correctly
too.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests and QA script, works as described.
Comment 4 Tomás Cohen Arazi (tcohen) 2014-11-21 18:33:57 UTC
Patch pushed to master.

Thanks Owen!