[Patches] [PATCH] Bug 7215 - changed callnumber PRESET field to itemcallnumber

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Sat Nov 12 06:30:03 NZDT 2011


From: Brendan <info at bywatersolutions.com>
Date: Fri, 11 Nov 2011 09:25:15 -0800
Subject: [PATCH] Bug 7215 - changed callnumber PRESET field to itemcallnumber

Fixes problem with creating new labels - before it populated with callnumber and not itemcallnumber
---
 C4/Creators/Layout.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Creators/Layout.pm b/C4/Creators/Layout.pm
index 9de8ece..73a19fa 100644
--- a/C4/Creators/Layout.pm
+++ b/C4/Creators/Layout.pm
@@ -61,7 +61,7 @@ sub _check_params {
     return $exit_code;
 }
 
-use constant PRESET_FIELDS => [qw(title author isbn issn itemtype barcode callnumber)];
+use constant PRESET_FIELDS => [qw(title author isbn issn itemtype barcode itemcallnumber)];
 sub new {
     my $invocant = shift;
     my $self = '';
-- 
1.7.2.5


More information about the Patches mailing list