From e2e50e0b06587f45c5370b313ff7a7d7a432bcd5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Jul 2015 11:36:26 +0100 Subject: [PATCH] Bug 12525: FIX patron lists dropdown is empty On the patrons home page, the dropdown list is not populated. Test plan: 1/ Go on the patrons home page (members/members-home.pl) 2/ Launch a search 3/ The dropdown list close to "Add selected patrons to" should contain all your patron lists NOTE: Initially tested with both which created lists. git reset --hard origin/master And then dropdown list was missing them. Applied just this one, and they were listed. Signed-off-by: Mark Tompsett Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- members/members-home.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/members/members-home.pl b/members/members-home.pl index c24085a029..b9368f6da4 100755 --- a/members/members-home.pl +++ b/members/members-home.pl @@ -27,6 +27,7 @@ use C4::Members; use C4::Branch; use C4::Category; use Koha::Borrower::Modifications; +use Koha::List::Patron; my $query = new CGI; my $branch = $query->param('branchcode'); @@ -96,6 +97,7 @@ $template->param( $template->param( alphabet => C4::Context->preference('alphabet') || join (' ', 'A' .. 'Z'), + patron_lists => [ GetPatronLists() ], PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20, ); -- 2.39.5