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>
This commit is contained in:
parent
7a32e68b50
commit
2ce6824499
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,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