Bugzilla – Attachment 92486 Details for
Bug 23514
Call numbers are not splitted in Label Creator with layout types other than Biblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow Splitting of Call Numbers for all layout types (apart from BAR)
0001-Split-CallNumbers-for-other-layout-types-too.diff (text/plain), 1020 bytes, created by
Theodoros Theodoropoulos
on 2019-08-28 10:26:55 UTC
(
hide
)
Description:
Allow Splitting of Call Numbers for all layout types (apart from BAR)
Filename:
MIME Type:
Creator:
Theodoros Theodoropoulos
Created:
2019-08-28 10:26:55 UTC
Size:
1020 bytes
patch
obsolete
>--- a/src/C4/Labels/Label.pm 2019-08-28 12:08:53.743267103 +0300 >+++ b/src/C4/Labels/Label.pm 2019-08-28 13:07:22.603565013 +0300 >@@ -428,7 +428,7 @@ > my @label_lines; > # Fields which hold call number data FIXME: ( 060? 090? 092? 099? ) > my @callnumber_list = qw(itemcallnumber 050a 050b 082a 952o 995k); >- if ((grep {$field->{'code'} =~ m/$_/} @callnumber_list) and ($self->{'printing_type'} eq 'BIB') and ($self->{'callnum_split'})) { # If the field contains the call number, we do some sp >+ if ((grep {$field->{'code'} =~ m/$_/} @callnumber_list) and ($self->{'printing_type'} ne 'BAR') and ($self->{'callnum_split'})) { # If the field contains the call number, we do some sp > if ($cn_source eq 'lcc' || $cn_source eq 'nlm') { # NLM and LCC should be split the same way > @label_lines = _split_lccn($field_data); > @label_lines = _split_ccn($field_data) if !@label_lines; # If it was not a true lccn, try it as a custom call number >
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 23514
:
92486
|
92487
|
102531
|
102552