Bug 14940: Fix sorting in opac-topissues.pl
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 2 Oct 2015 07:25:18 +0000 (09:25 +0200)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 23 Oct 2015 13:19:56 +0000 (02:19 +1300)
commite14557ecd97aa46adb4739b0a5cc3e70b5023616
treebc0c0da2339302fae868b440dd87108bf3c190f2
parent145ea9d1606db3e0397fac8f92f27d7645c3c821
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2f0e409f471fe4527defee41798a80b1e354ce3e)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt
koha-tmpl/opac-tmpl/bootstrap/js/datatables.js