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 commit2ce6824499
) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commita6c53078a6
) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
21462582f5
commit
e5452e1487
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@
|
|||
[% END %]
|
||||
</ul>
|
||||
</td>
|
||||
<td class="actions">
|
||||
<td class="actions" data-sort="[% reserveloo.copies_to_buy | html %]">
|
||||
<p>
|
||||
[% IF ( reserveloo.thisratio_atleast1 ) %]
|
||||
[% IF ( CAN_user_acquisition && basketno && booksellerid ) %]<!-- [% reserveloo.copies_to_buy | html %] -->
|
||||
|
|
Loading…
Reference in a new issue