Bugzilla – Attachment 20399 Details for
Bug 10715
MARC21 007 Plugin Editor doesn't load position 01
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10715 - MARC21 007 Plugin Editor doesn't load position 01
Bug-10715---MARC21-007-Plugin-Editor-doesnt-load-p.patch (text/plain), 1.59 KB, created by
Kyle M Hall (khall)
on 2013-08-16 11:50:32 UTC
(
hide
)
Description:
Bug 10715 - MARC21 007 Plugin Editor doesn't load position 01
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-08-16 11:50:32 UTC
Size:
1.59 KB
patch
obsolete
>From c2fdfbd495ec653e4fb35b2f8c2bc49f48b05c90 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Tue, 13 Aug 2013 12:16:28 +1000 >Subject: [PATCH] Bug 10715 - MARC21 007 Plugin Editor doesn't load position 01 > >This patch changes the MARC21 007 plugin editor so that it uses >1 character instead of 4 characters for position 01. > >TEST PLAN: > >1) Create new record/edit an existing record >2) Using the tag editor for the 007 field, choose "Videorecording" >3) Click OK >4) Change the second character in the 007 from "c" to "d" >5) Open the tag editor again >6) Note that position 01 will still say "c - Videocartridge" rather >than "d - Videodisc". >7) Exit tag editor > >8) Apply patch > >9) Reload the page (Shift + Refresh is always useful) >10) Open the tag editor again >11) Note that position 01 will now say "d - Videodisc" > >Signed-off-by: Galen Charlton <gmc@esilibrary.com> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > cataloguing/value_builder/marc21_field_007.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/cataloguing/value_builder/marc21_field_007.pl b/cataloguing/value_builder/marc21_field_007.pl >index c852fa0..74e559d 100755 >--- a/cataloguing/value_builder/marc21_field_007.pl >+++ b/cataloguing/value_builder/marc21_field_007.pl >@@ -82,7 +82,7 @@ my ($template, $loggedinuser, $cookie) > }); > $result = "ta" unless $result; > my $f0 = substr($result,0,1); >- my $f1 = substr($result,1,4); >+ my $f1 = substr($result,1,1); > #added new parameters to allow for all material types > my $f2 = substr($result,2,1); > my $f3 = substr($result,3,1); >-- >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 10715
:
20282
|
20334
| 20399