From 2593b36e0ce573229a25f960268d3d4e5d631cc3 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 15 Nov 2024 13:34:23 +0000 Subject: [PATCH] Bug 33736: (follow-up) Cleanup and consistency Given Jonathans comments, this patch performs the requested cleanups. * We use the new select option for kohaTables for the pickup library search. * We add pickup library to the aside filters. * We remove the empty placeholder 'actions' column. * We drop the filtering on 'waiting' which will be reintroduced by the next but in the tree. Signed-off-by: Martin Renvoize --- .../prog/en/modules/circ/pendingbookings.tt | 51 +++++++++++++------ 1 file changed, 36 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt index eb549fa8c68..593d7e190ca 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt @@ -4,6 +4,7 @@ [% USE Koha %] [% USE KohaDates %] [% USE TablesSettings %] +[% USE To %] [% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] @@ -57,8 +58,24 @@

Refine results

  1. - - + [% SET libraries = Branches.all( only_from_group => 1 ) %] + [% IF libraries.size != 1 %] + + [% END %] + [% FOREACH l IN libraries %] + [% IF (l.branchcode == branchcode) %] + + [% ELSE %] + + [% END %] + [% END %] + +
  2. +
  3. + +