From 12a42af1a4753febd8b9939bf46d5f974bd0d059 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. --- koha-tmpl/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 a715178..03852fa 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 ) %] @@ -540,8 +540,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 @@ -587,16 +587,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.1.4