Bugzilla – Attachment 4165 Details for
Bug 6363
The "Item Location" selectbox in inventory.pl doesn't appear when the default MARC framework is the only one avaiable.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make the "Item Location" selectbox appears correctly in inventory.pl
0001-Make-the-Item-Location-selectbox-appears-correctly.patch (text/plain), 964 bytes, created by
Frédérick Capovilla
on 2011-05-18 14:45:24 UTC
(
hide
)
Description:
Make the "Item Location" selectbox appears correctly in inventory.pl
Filename:
MIME Type:
Creator:
Frédérick Capovilla
Created:
2011-05-18 14:45:24 UTC
Size:
964 bytes
patch
obsolete
>From 9c48516af6ab92d64f356897d3096abd76c1d10c Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= <frederick.capovilla@sys-tech.net> >Date: Wed, 18 May 2011 10:32:44 -0400 >Subject: [PATCH] Make the "Item Location" selectbox appears correctly in inventory.pl > >The "Item Location" selectbox didn't appear when the only available MARC >framework was the default framework. >--- > tools/inventory.pl | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/tools/inventory.pl b/tools/inventory.pl >index f8903e5..d6bfa87 100755 >--- a/tools/inventory.pl >+++ b/tools/inventory.pl >@@ -77,6 +77,8 @@ my @authorised_value_list; > my $authorisedvalue_categories; > > my $frameworks = getframeworks(); >+$frameworks->{''} = {frameworkcode => ''}; # Add the default framework >+ > for my $fwk (keys %$frameworks){ > my $fwkcode = $frameworks->{$fwk}->{'frameworkcode'}; > my $authcode = GetAuthValCode('items.location', $fwkcode); >-- >1.5.6.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 6363
:
4165
|
4216