Bugzilla – Attachment 14210 Details for
Bug 8795
Just add the login branch In orderreveive.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch.txt (text/plain), 1.31 KB, created by
Marcel de Rooy
on 2012-12-20 10:32:50 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2012-12-20 10:32:50 UTC
Size:
1.31 KB
patch
obsolete
>From 4a761942846dd3533a5174e533a3c94362a2968e Mon Sep 17 00:00:00 2001 >From: Christophe Croullebois <christophe.croullebois@biblibre.com> >Date: Thu, 20 Sep 2012 09:16:19 +0200 >Subject: [PATCH] Bug 8795: Adding the login branch as default in > orderreceive.tt >Content-Type: text/plain; charset="utf-8" > >The homebranch and holdingbranch ddl in item block are not default selected. >I just put the default choice as the login branch. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Before the patch, orderreceive.pl showed the branches alphabetically. >After the patch, it automatically selects the branch I'm logged in to. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/Items.pm | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index aa5a954..012ec8a 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -2720,6 +2720,7 @@ sub PrepareItemrecordDisplay { > $authorised_lib{$branchcode} = $branchname; > } > } >+ $defaultvalue = C4::Context->userenv->{branch}; > > #----- itemtypes > } elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "itemtypes" ) { >-- >1.7.7.6 >
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 8795
:
12370
|
13062
|
13670
| 14210