Bugzilla – Attachment 92487 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) - based on master
0001-Split-CallNumbers-for-other-layout-types-too-master.diff (text/plain), 1.07 KB, created by
Theodoros Theodoropoulos
on 2019-08-28 10:35:22 UTC
(
hide
)
Description:
Allow Splitting of Call Numbers for all layout types (apart from BAR) - based on master
Filename:
MIME Type:
Creator:
Theodoros Theodoropoulos
Created:
2019-08-28 10:35:22 UTC
Size:
1.07 KB
patch
obsolete
>--- a/src/C4/Labels/Label.pm 2019-08-28 13:29:18.785235256 +0300 >+++ b/src/C4/Labels/Label.pm 2019-08-28 13:29:59.052332869 +0300 >@@ -378,7 +378,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 ($split_routine eq 'LCC' || $split_routine eq 'nlm') { # NLM and LCC should be split the same way > @label_lines = C4::ClassSplitRoutine::LCC::split_callnumber($field_data); > @label_lines = C4::ClassSplitRoutine::Generic::split_callnumber($field_data) unless @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