Bugzilla – Attachment 147142 Details for
Bug 32503
Holds awaiting pickup doesn't sort dates correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32503: Fix date sorting for holds awaiting pickup tables
Bug-32503-Fix-date-sorting-for-holds-awaiting-pick.patch (text/plain), 2.08 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-02-22 13:27:31 UTC
(
hide
)
Description:
Bug 32503: Fix date sorting for holds awaiting pickup tables
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-02-22 13:27:31 UTC
Size:
2.08 KB
patch
obsolete
>From 51355c117aa74225cf867beb7a889c747f2bbaea Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Wed, 28 Dec 2022 22:39:43 +0000 >Subject: [PATCH] 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> >--- > .../intranet-tmpl/prog/en/includes/waiting_holds.inc | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc >index d4007b3b7cc..b08540f1319 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc >@@ -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 %] >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32503
:
144884
|
144885
|
144886
|
144980
|
144981
|
144982
|
145051
|
145052
|
145053
| 147142 |
147143
|
147144