]> git.koha-community.org Git - koha.git/commit
bug 5653: use itemcallnumber in bib label layouts
authorGalen Charlton <gmcharlt@gmail.com>
Mon, 24 Jan 2011 21:55:01 +0000 (16:55 -0500)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 14 Jun 2011 00:59:55 +0000 (20:59 -0400)
commitef5ea26668acd3e071253f19888533f5883fba46
treec356bb624e053e37b52b4f09923ec0d15c71fc62
parentb49f446671676688b9f1a3d45cb4d1363a84a647
bug 5653: use itemcallnumber in bib label layouts

The sample bib label layouts and the hard-coded default
format_string for new layouts used 'callnumber' when they
should have used 'itemcallnumber', preventing call numbers
from being printed on spine labels that use the system-supplied
layouts.  Besides correcting the sample data, this patch
now also enshrines 'callnumber' as an alias for 'itemcallnumber'.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
After applying patch it works for new and old layouts (itemcallnumber and callnumber).

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d2f49e1976166865a5260752bc1d098e6a253ebe)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Labels/Label.pm
installer/data/mysql/de-DE/optional/sample_creator_data.sql
installer/data/mysql/en/optional/sample_creator_data.sql
labels/label-create-xml.pl
labels/label-edit-layout.pl
t/Labels.t [new file with mode: 0644]