projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 12495 - Include streetnumber in hold alert address
[koha_fer]
/
C4
/
Creators
/
Layout.pm
diff --git
a/C4/Creators/Layout.pm
b/C4/Creators/Layout.pm
index
3281e15
..
a12532f
100644
(file)
--- a/
C4/Creators/Layout.pm
+++ b/
C4/Creators/Layout.pm
@@
-10,7
+10,7
@@
use C4::Debug;
use C4::Creators::PDF;
BEGIN {
use C4::Creators::PDF;
BEGIN {
- use version; our $VERSION = qv('
1.0.0_1
');
+ use version; our $VERSION = qv('
3.07.00.049
');
}
# FIXME: Consider this style parameter verification instead...
}
# FIXME: Consider this style parameter verification instead...
@@
-61,6
+61,7
@@
sub _check_params {
return $exit_code;
}
return $exit_code;
}
+use constant PRESET_FIELDS => [qw(title author isbn issn itemtype barcode itemcallnumber)];
sub new {
my $invocant = shift;
my $self = '';
sub new {
my $invocant = shift;
my $self = '';
@@
-81,7
+82,7
@@
sub new {
font_size => 3,
callnum_split => 0,
text_justify => 'L',
font_size => 3,
callnum_split => 0,
text_justify => 'L',
- format_string =>
'title, author, isbn, issn, itemtype, barcode, callnumber'
,
+ format_string =>
join(', ', @{ PRESET_FIELDS() })
,
@_,
};
}
@_,
};
}