From fdc6b033a55e917647f8f099902f2750e79cc740 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 24 Apr 2017 12:36:58 +0000 Subject: [PATCH] Bug 18479 - Holds 'Placed on' column in opac-user.pl not sorting correctly Two columns in the user's holds table in the OPAC do not sort correctly because they are not marked up correctly to enable date sorting: 'Placed on' and 'Expires on.' This patch corrects it. This patch also removes a stray which was causing validation errors. To test, apply the patch and log into the OPAC with an account which has multiple holds with differnt hold dates and expiration dates. Confirm that sorting on these columns works correctly. Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index e8b6d9680b..d322958860 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -217,8 +217,8 @@ Using this account is not recommended because some parts of Koha will not functi [% ISSUE.title |html %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl.subfield %][% END %] [% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron %][% END %] + [% ISSUE.author %] - [% IF ( ISSUE.overdue ) %] @@ -542,8 +542,8 @@ Using this account is not recommended because some parts of Koha will not functi Title - Placed on - Expires on + Placed on + Expires on Pick up location [% IF ( showpriority ) %] Priority @@ -589,16 +589,18 @@ Using this account is not recommended because some parts of Koha will not functi [% IF ! RESERVE.found %] [% IF ( RESERVE.expirationdate ) %] - + Expiration: [% RESERVE.expirationdate | $KohaDates %] [% ELSE %] - Expiration: - Never expires + + Expiration: + Never expires + [% END %] [% ELSE %] - - + - [% END %] -- 2.39.5