Bugzilla – Attachment 3402 Details for
Bug 5902
Locations should default to current library in add item screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
bug5902.patch (text/plain), 1.93 KB, created by
Nicole C. Engard
on 2011-03-22 19:48:32 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2011-03-22 19:48:32 UTC
Size:
1.93 KB
patch
obsolete
>From: Jared Camins-Esakov <jcamins@bywatersolutions.com> >To: dev@bywatersolutions.com >Cc: Jared Camins-Esakov <jcamins@bywatersolutions.com> >Subject: [PATCH] Bug 5902: additem.pl should default to set library >Date: Sun, 20 Mar 2011 11:47:50 -0400 >Message-Id: <1300636070-3449-1-git-send-email-jcamins@bywatersolutions.com> >X-Mailer: git-send-email 1.7.2.3 >X-Original-Sender: jcamins@bywatersolutions.com >X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: > 209.85.216.177 is neither permitted nor denied by best guess record for > domain of jcamins@bywatersolutions.com) smtp.mail=jcamins@bywatersolutions.com >Precedence: list >Mailing-list: list dev@bywatersolutions.com; contact dev+owners@bywatersolutions.com >List-ID: <dev.bywatersolutions.com> >X-Google-Group-Id: 274270250429 >List-Help: <http://www.google.com/support/a/bywatersolutions.com/bin/static.py?hl=en_US&page=groups.cs>, > <mailto:dev+help@bywatersolutions.com> >Content-Type: text/plain; charset="utf-8" > >This patch makes the additem screen default to selecting the currently set >library. If the library is unset, it will default to the first branch >alphabetically. >--- > cataloguing/additem.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index c5dd7d9..b2b1192 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -570,7 +570,7 @@ my $onlymine = C4::Context->preference('IndependantBranches') && > C4::Context->userenv && > C4::Context->userenv->{flags}!=1 && > C4::Context->userenv->{branch}; >-my $branches = GetBranchesLoop(undef,$onlymine); # build once ahead of time, instead of multiple times later. >+my $branches = GetBranchesLoop(C4::Context->userenv->{branch},$onlymine); # build once ahead of time, instead of multiple times later. > > # We generate form, from actuel record > my @fields; >-- >1.7.2.3 >
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 5902
: 3402