Koha/koha-tmpl/opac-tmpl/bootstrap
Owen Leonard 26fd5daf50 Bug 29949: Remove use of title-numeric sorting routine from OPAC datatables JS
This patch removes the use of a specific "title-numeric" sorting routine
from the DataTables configuration of the "Most popular" table. We can
use a "data-order" attribute instead.

The patch also removes the now unused code from our custom DataTables JS
file in both the OPAC and the staff interface (where it was unused).

To test, apply the patch and make sure the OpacTopissue system
preference is enabled.

- In the OPAC, view the "Most popular" page.
- Change the filter settings, if necessary, to get multiple results.
- In the results table, confirm that sorting by number of checkouts
  still works correctly.

A search of the code for instances of "title-numeric" should return only
one in a comment in the official DataTables library.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-31 21:55:40 -10:00
..
css Bug 29212: Compiled CSS 2022-01-31 21:55:40 -10:00
en Bug 29949: Remove use of title-numeric sorting routine from OPAC datatables JS 2022-01-31 21:55:40 -10:00
images Bug 29036: (follow-up) Improve the use of variables to keep colors consistent 2021-12-01 21:38:12 -10:00
itemtypeimg
js Bug 29949: Remove use of title-numeric sorting routine from OPAC datatables JS 2022-01-31 21:55:40 -10:00
lib Bug 29212: Use Flatpickr on OPAC pages 2022-01-31 21:55:40 -10:00