From a6c53078a633db278b8a16b5ef7303e34446ee65 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 16 Oct 2023 23:03:03 +0000 Subject: [PATCH] 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 Signed-off-by: Emily Lamancusa Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 2ce68244991fc90b4606e1aa06e874c9854107a2) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt index 15c6c75878..e621e338c3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt @@ -103,7 +103,7 @@ [% END %] - +

[% IF ( reserveloo.thisratio_atleast1 ) %] [% IF ( CAN_user_acquisition && basketno && booksellerid ) %] -- 2.20.1