]> git.koha-community.org Git - koha.git/commit
bug 9370: improve splitting of LC call numbers for labels
authorGalen Charlton <gmc@esilibrary.com>
Wed, 9 Jan 2013 01:32:47 +0000 (17:32 -0800)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 28 Jun 2013 14:20:41 +0000 (11:20 -0300)
commit10f5822daabf34ede50b2b35b5e02324482af9ac
tree26af7d6c0e9d83ad59f073f6c94905d85a137627
parentd743b2084cddb5197393bfa5ffeaf6f1e0334784
bug 9370: improve splitting of LC call numbers for labels

Use the Perl module Library::CallNumber::LC to parse and split
LC call numbers when generating spine labels.

For example, QH541.15.C6 C25 2012 should be split as follows:

QH
541.15
.C6
C25
2012

To test, create an item with call number QH541.15.C6 C25 2012
and classification source LC, then create a spine label for that
item using a layout of type 'biblio' that has the split call numbers
option enabled.  The call number should be split as indicated above.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit edb8bddff074769a95744b6a7fa59eff61e0cfc1)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Labels/Label.pm