From 45a87377213e8b487e5bd00063b40a7fe09becb0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 9 Nov 2017 13:25:13 -0300 Subject: [PATCH] Bug 7317: Display all the libraries, not only one Before this patch only the first library defined in the system where displayed. TODO: Make sure we want to display all the libraries and not a "filtered" list see `git grep PROCESS options_for_libraries libraries|grep unfiltered` Signed-off-by: Jonathan Druart --- ill/ill-requests.pl | 2 +- .../prog/en/modules/ill/ill-requests.tt | 16 +++------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/ill/ill-requests.pl b/ill/ill-requests.pl index 034ce02939..029fa49eea 100755 --- a/ill/ill-requests.pl +++ b/ill/ill-requests.pl @@ -249,7 +249,7 @@ $template->param( backends => $backends, media => [ "Book", "Article", "Journal" ], query_type => $op, - branches => Koha::Libraries->search + branches => scalar Koha::Libraries->search, ); output_html_with_http_headers( $cgi, $cookie, $template->output ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index 60efd71d1e..f167a0b7e8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -419,19 +419,9 @@
  • - - + [% PROCESS options_for_libraries libraries => Branches.all( selected => request.branchcode ) %]
  • -- 2.39.5