Bugzilla – Attachment 153051 Details for
Bug 34145
Patron search broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34145: Allow access the logged in branch's limited data
Bug-34145-Allow-access-the-logged-in-branchs-limit.patch (text/plain), 794 bytes, created by
Jonathan Druart
on 2023-07-05 11:06:54 UTC
(
hide
)
Description:
Bug 34145: Allow access the logged in branch's limited data
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-07-05 11:06:54 UTC
Size:
794 bytes
patch
obsolete
>From 65fbc7836f3e4fd6af598164b0a45dfb504308fd Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 5 Jul 2023 13:06:36 +0200 >Subject: [PATCH] Bug 34145: Allow access the logged in branch's limited data > >--- > Koha/Patron.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index 2a8eecf9f66..08f1891c75d 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -1717,6 +1717,8 @@ sub libraries_where_can_see_things { > } > } > >+ push @restricted_branchcodes, C4::Context->userenv->{branch}; >+ > @restricted_branchcodes = grep { defined $_ } @restricted_branchcodes; > @restricted_branchcodes = uniq(@restricted_branchcodes); > @restricted_branchcodes = sort(@restricted_branchcodes); >-- >2.25.1
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 34145
: 153051