Bugzilla – Attachment 6286 Details for
Bug 6475
Edit it's not possible subfield "0" in MARC framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed-off patch
0001-SIGNED-OFF-Bug-6475-Edit-it-s-not-possible-in-subfie.patch (text/plain), 1.29 KB, created by
Owen Leonard
on 2011-11-11 15:54:27 UTC
(
hide
)
Description:
Signed-off patch
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-11-11 15:54:27 UTC
Size:
1.29 KB
patch
obsolete
>From 03250a3fe54a38115c9bc950a07a917c21323e86 Mon Sep 17 00:00:00 2001 >From: Salvador Zaragoza Rubio <salvazm@masmedios.com> >Date: Wed, 22 Jun 2011 18:18:40 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 6475 - Edit it's not possible in subfield "0" in MARC framework >Content-Type: text/plain; charset="utf-8" > >When trying to modify the subfield "0" on a field in the >MARC subfield structure admin -> Tag xxx Subfield Constraints, >the boolean condition on liblibrarian fails for the initial "0" value. >Modified condition to allow the value "0" > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > admin/marc_subfields_structure.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl >index 0049376..2c69733 100755 >--- a/admin/marc_subfields_structure.pl >+++ b/admin/marc_subfields_structure.pl >@@ -426,7 +426,7 @@ elsif ( $op eq 'add_validate' ) { > my $link = $link[$i]; > my $defaultvalue = $defaultvalue[$i]; > >- if ($liblibrarian) { >+ if (defined($liblibrarian) && $liblibrarian ne "") { > unless ( C4::Context->config('demo') eq 1 ) { > if (marc_subfield_structure_exists($tagfield, $tagsubfield, $frameworkcode)) { > $sth_update->execute( >-- >1.7.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 6475
:
4396
|
4518
| 6286