Bugzilla – Attachment 43468 Details for
Bug 15021
Batch item modification does not work correctly on plack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15021: Fix scoping variable in tools/batchMod.pl
Bug-15021-Fix-scoping-variable-in-toolsbatchModpl.patch (text/plain), 994 bytes, created by
Jonathan Druart
on 2015-10-16 08:53:21 UTC
(
hide
)
Description:
Bug 15021: Fix scoping variable in tools/batchMod.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-10-16 08:53:21 UTC
Size:
994 bytes
patch
obsolete
>From 2ebb96d6340e01fbdc6c804bd81b38f52c311893 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 16 Oct 2015 08:45:30 +0000 >Subject: [PATCH] Bug 15021: Fix scoping variable in tools/batchMod.pl > >$tagslib is used in subroutines and should be declare as global. > >Test plan: >On the Batch item modification page, all item fields should be listed, not only the title. >--- > tools/batchMod.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/batchMod.pl b/tools/batchMod.pl >index 055e407..5804936 100755 >--- a/tools/batchMod.pl >+++ b/tools/batchMod.pl >@@ -82,7 +82,7 @@ my $itemrecord; > my $nextop=""; > my @errors; # store errors found while checking data BEFORE saving item. > my $items_display_hashref; >-my $tagslib = &GetMarcStructure(1); >+our $tagslib = &GetMarcStructure(1); > > my $deleted_items = 0; # Number of deleted items > my $deleted_records = 0; # Number of deleted records ( with no items attached ) >-- >2.1.4
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 15021
:
43450
|
43468
|
43488
|
43814