]> 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 Cormack <chrisc@catalyst.net.nz>
Sun, 12 Jun 2011 23:15:34 +0000 (11:15 +1200)
commitd2f49e1976166865a5260752bc1d098e6a253ebe
tree489ceae94c2510c56eae130035ac5bb3f0d5526c
parent98f278022726c3622a1527cb4e8eb23228d28187
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>
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]