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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 25 Oct 2023 14:08:03 +0000 (11:08 -0300)
commit2ce68244991fc90b4606e1aa06e874c9854107a2
treec0a4b5962102521d077789076ee31a32c7b00a42
parent7a32e68b50202ce70bd6b2123880ac776dd7337b
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>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt