Bugzilla – Attachment 25842 Details for
Bug 11747
Default to logged in library for Overdue notice/status triggers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11747 [QA Followup] - Don't default to branch specific rules if only one branch exists
Bug-11747-QA-Followup---Dont-default-to-branch-spe.patch (text/plain), 1018 bytes, created by
Kyle M Hall (khall)
on 2014-03-05 12:56:28 UTC
(
hide
)
Description:
Bug 11747 [QA Followup] - Don't default to branch specific rules if only one branch exists
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-03-05 12:56:28 UTC
Size:
1018 bytes
patch
obsolete
>From 6aa3c9b1c6e7df1c2ba3f99168dc65e85561bf12 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 5 Mar 2014 07:55:51 -0500 >Subject: [PATCH] Bug 11747 [QA Followup] - Don't default to branch specific rules if only one branch exists > >--- > tools/overduerules.pl | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/tools/overduerules.pl b/tools/overduerules.pl >index b11c4d7..1d391b2 100755 >--- a/tools/overduerules.pl >+++ b/tools/overduerules.pl >@@ -71,9 +71,9 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > > my $type = $input->param('type'); > my $branch = >- defined( $input->param('branch') ) >- ? $input->param('branch') >- : C4::Branch::mybranch(); >+ defined( $input->param('branch') ) ? $input->param('branch') >+ : GetBranchesCount() == 1 ? undef >+ : C4::Branch::mybranch(); > $branch = q{} if $branch eq 'NO_LIBRARY_SET'; > $branch ||= q{}; > my $op = $input->param('op'); >-- >1.7.2.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 11747
:
25205
|
25297
|
25347
|
25842
|
35466
|
35467
|
35468
|
38112
|
38279
|
38280
|
38281
|
38346
|
43499
|
43500
|
43501