Bug 35069: Fix hold ratios items needed column sorting
authorLucas Gass <lucas@bywatersolutions.com>
Mon, 16 Oct 2023 23:03:03 +0000 (23:03 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 26 Oct 2023 08:23:29 +0000 (22:23 -1000)
commita6c53078a633db278b8a16b5ef7303e34446ee65
treefef0134f082de2e1b718ef8fed0bf704127b4f55
parente9363693e026ebea2117a750c078dd71d4c0a1bb
Bug 35069: Fix hold ratios items needed column sorting

This patch adds the data-sort attribute to the "Items needed" column to
ensure proper sorting.

To test:
1. Make a lot of holds.
2. On some holds have a high enough holds/copies ratio so the "Items
   needed" has values greater than 10.
3. Sort by that column. Notice the copies with an "Items needed" higher
   than 10 do not get sorted correctly.
4. APPLY PATCH
5. Try steps 1 -3 again. Everything should sort properly.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2ce68244991fc90b4606e1aa06e874c9854107a2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt