Bug 14940

Summary: opac-topissues.pl sort is broken
Product: Koha Reporter: Julian Maurice <julian.maurice>
Component: OPACAssignee: Julian Maurice <julian.maurice>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: chris, liz, tomascohen, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 14940: Fix sorting in opac-topissues.pl
Bug 14940: Fix sorting in opac-topissues.pl
[PASSED QA] Bug 14940: Fix sorting in opac-topissues.pl

Description Julian Maurice 2015-10-02 07:31:50 UTC
A hidden text in "Checkouts" column prevent DataTables to sort numerically.
Comment 1 Julian Maurice 2015-10-02 07:32:18 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2015-10-03 07:40:01 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2015-10-03 17:30:21 UTC
Created attachment 43081 [details] [review]
[PASSED QA] Bug 14940: Fix sorting in opac-topissues.pl

There is hidden text in "Checkouts" cells that prevent DataTables to
sort numerically.
This patch adds the 'title-numeric' sort plugin and use it in
opac-topissues.pl

Column 'Checkouts' in Home > Most popular items sorts as expected
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Tomás Cohen Arazi 2015-10-05 15:39:45 UTC
Patch pushed to master.

Thanks Julian!
Comment 5 Chris Cormack 2015-10-23 13:21:07 UTC
Pushed to 3.20.x will be in 3.20.5
Comment 6 Liz Rea 2015-11-02 21:05:57 UTC
Pushed to 3.18.x, is in 3.18.12.