Bugzilla – Attachment 38422 Details for
Bug 11625
Default to logged in library for circ rules and notices & slips
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11625: [COUNTER-PATCH] Implement DefaultToLoggedInLibraryNoticesSlips
Bug-11625-Implement-DefaultToLoggedInLibraryNotice.patch (text/plain), 818 bytes, created by
Jonathan Druart
on 2015-04-23 13:42:12 UTC
(
hide
)
Description:
Bug 11625: [COUNTER-PATCH] Implement DefaultToLoggedInLibraryNoticesSlips
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-04-23 13:42:12 UTC
Size:
818 bytes
patch
obsolete
>From ef6db75848f4d5b2c811ce0b105844c2464018c9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 23 Apr 2015 15:41:17 +0200 >Subject: [PATCH] Bug 11625: Implement DefaultToLoggedInLibraryNoticesSlips > >--- > tools/letter.pl | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/tools/letter.pl b/tools/letter.pl >index e9f39d9..27d64a1 100755 >--- a/tools/letter.pl >+++ b/tools/letter.pl >@@ -353,6 +353,12 @@ sub retrieve_letters { > sub default_display { > my ($branchcode, $searchfield) = @_; > >+ unless ( defined $branchcode ) { >+ if ( C4::Context->preference('DefaultToLoggedInLibraryNoticesSlips') ) { >+ $branchcode = C4::Branch::mybranch(); >+ } >+ } >+ > if ( $searchfield ) { > $template->param( search => 1 ); > } >-- >2.1.0
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 11625
:
24845
|
24861
|
24941
|
24984
|
24985
|
25839
|
25840
|
35460
|
35461
|
35462
|
35463
|
37055
|
37056
|
37057
|
37058
|
38093
|
38094
|
38095
|
38096
|
38276
|
38277
|
38278
|
38422
|
38424
|
41795
|
41796
|
41797
|
43496
|
43497
|
43498