Bugzilla – Attachment 71385 Details for
Bug 20157
Use group 'features' to decide which groups to use for group searching functionality
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20157 [QA Followup] - Fix error triggered by subgroups being added to group
Bug-20157-QA-Followup---Fix-error-triggered-by-sub.patch (text/plain), 783 bytes, created by
Kyle M Hall (khall)
on 2018-02-09 13:57:55 UTC
(
hide
)
Description:
Bug 20157 [QA Followup] - Fix error triggered by subgroups being added to group
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-02-09 13:57:55 UTC
Size:
783 bytes
patch
obsolete
>From 58e48cc76e9f71d1599ccb08c3e15c3b074c5f56 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatetsolutions.com> >Date: Fri, 9 Feb 2018 08:51:02 -0500 >Subject: [PATCH] Bug 20157 [QA Followup] - Fix error triggered by subgroups > being added to group > >--- > Koha/Patron.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index e787bd0..c1951a5 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -793,7 +793,9 @@ sub libraries_where_can_see_patrons { > } > } > >- return sort(uniq(@restricted_branchcodes)); >+ @restricted_branchcodes = grep { defined $_ } @restricted_branchcodes; >+ @restricted_branchcodes = uniq(@restricted_branchcodes); >+ return sort (@restricted_branchcodes); > } > > sub can { >-- >2.10.2
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 20157
:
71320
|
71321
|
71323
|
71324
|
71382
|
71383
|
71385
|
71387
|
71395
|
71396
|
71397
|
71398
|
71399
|
71400