Bugzilla – Attachment 30563 Details for
Bug 12048
Doesn't display other libraries subscriptions when superlibrarian user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12048 - 3.14.x version
Bug-12048---314x-version.patch (text/plain), 891 bytes, created by
Mark Tompsett
on 2014-08-07 02:32:43 UTC
(
hide
)
Description:
Bug 12048 - 3.14.x version
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-08-07 02:32:43 UTC
Size:
891 bytes
patch
obsolete
>From 65dd0019e7ec4e5aa2e48b0a92c913a8258f3872 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 6 Aug 2014 22:29:21 -0400 >Subject: [PATCH] Bug 12048 - 3.14.x version > >IsSuperLibrarian doesn't exist in 3.14.x > C4::Context->userenv && C4::Context->userenv->{flags} != 1 >is the 3.14.x equivalent of !C4::Context->IsSuperLibrarian(). >--- > C4/Serials.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 9633446..af72127 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -739,6 +739,7 @@ sub SearchSubscriptions { > $subscription->{cannotdisplay} = > ( C4::Context->preference("IndependentBranches") && > C4::Context->userenv && >+ C4::Context->userenv->{flags} != 1 && > $subscription->{branchcode} ne C4::Context->userenv->{'branch'} ) ? 1 : 0; > } > >-- >1.7.9.5
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 12048
:
26903
|
27083
|
27098
|
27105
| 30563