]> 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:37 +0000 (20:59 -0400)
commitee02c805fce78e804fcb7a5f4a746e81307e687f
tree73795fce517b0bea9c81e7d342f815cc634f8ec9
parentf6b7775a515b5bf86f90d64aacbc7e6a4c07136b
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]