Bug 32503: Fix date sorting for holds awaiting pickup tables

This patch is a little experimental, but seems to do the trick.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2022-12-28 22:39:43 +00:00 committed by Tomas Cohen Arazi
parent e36e393c7d
commit 208de0c371
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -5,12 +5,12 @@
<thead>
<tr>
<th class="NoSort"><input type="checkbox" class="select_hold_all"/></th>
<th>Waiting since</th>
<th>Date hold placed</th>
<th data-type="@data-sort">Waiting since</th>
<th data-type="@data-sort">Date hold placed</th>
[% IF table_name == 'holdscr' %]
<th>Date cancellation requested</th>
<th data-type="@data-sort">Date cancellation requested</th>
[% END %]
<th>Expiration date</th>
<th data-type="@data-sort">Expiration date</th>
<th class="anti-the">Title</th>
<th>Patron</th>
<th>Home library</th>
@ -31,7 +31,7 @@
[% IF table_name == 'holdscr' %]
<td>
[% FOREACH cancellation_request IN reserveloo.cancellation_requests %]
<span>[% cancellation_request.creation_date | $KohaDates %]</span>
<span data-order="[% cancellation_request.creation_date | html %]">[% cancellation_request.creation_date | $KohaDates %]</span>
[% END %]
</td>
[% END %]