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)
committerLiz Rea <wizzyrea@gmail.com>
Thu, 29 Oct 2015 22:29:46 +0000 (11:29 +1300)
commitd2ce611bf60b919347de69bd3f9cb43f3bb1caab
tree79606aef440bd8d075a15c65fde86ce8f73b47e3
parent7f83431fb8267f9da3da6937ddaaf7a477404f0c
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>
(cherry picked from commit e14557ecd97aa46adb4739b0a5cc3e70b5023616)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt
koha-tmpl/opac-tmpl/bootstrap/js/datatables.js