]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 12 Jun 2013 14:44:10 +0000 (07:44 -0700)
commitedb8bddff074769a95744b6a7fa59eff61e0cfc1
treeeebf61d4a5cc5370b69dcc2d7c8b867c64f3d607
parenta5e9e15663289489e0baafff73d7bed20434b8ec
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>
C4/Labels/Label.pm