kohabug 2475 [3/?] Adding splitting algorithm for fiction call numbers
authorChris Nighswonger <chris.nighswonger@liblime.com>
Sat, 9 Aug 2008 18:03:01 +0000 (13:03 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sat, 9 Aug 2008 18:05:13 +0000 (13:05 -0500)
commit7cdce8db5f8652ee649cd7c96c0a9ef84465e778
treedb5c6b4a84641a7ecc82cce8d7d7fbb8c82b3e89
parent8f4f59a5bbe55ac00b6ebf9595c9028205b8f62e
kohabug 2475 [3/?] Adding splitting algorithm for fiction call numbers

This patch also looks for the call number type in items.cn_source and if
that is NULL, falls back to the DefaultClassificationSource syspref.

Splitting algorithms need to be written for other known/supported call
number systems (ie. sudocs, udc, generic, etc.)

Documentation Notes:

For now, if a call number falls through the regex checking for formal lccn or ddcn,
it is passed through the regex for a fiction call number; if it falls through that,
it is returned unsplit.

If a call number does not split, please update enhancement request 2500 with the
requested information.

http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2500

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Labels.pm