Bugzilla – Attachment 41084 Details for
Bug 12525
Patron Lists aren't added to list pulldown when created from Patron search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12525: FIX patron lists dropdown is empty
Bug-12525-FIX-patron-lists-dropdown-is-empty.patch (text/plain), 1.38 KB, created by
Mark Tompsett
on 2015-07-18 20:22:21 UTC
(
hide
)
Description:
Bug 12525: FIX patron lists dropdown is empty
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2015-07-18 20:22:21 UTC
Size:
1.38 KB
patch
obsolete
>From 53249491e4a9a60192a84ea6f6af5b8a5c6117b5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <mtompset@hotmail.com> >--- > members/members-home.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/members/members-home.pl b/members/members-home.pl >index c24085a..b9368f6 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.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12525
:
41007
|
41008
|
41084
|
41085
|
42193
|
42257
|
42258
|
42370
|
42371