Bug 7615 - Give option to use description for homebranch/holding branch in label...
authorChris Nighswonger <cnighswonger@foundations.edu>
Wed, 29 Feb 2012 00:21:11 +0000 (19:21 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 8 Mar 2012 15:12:50 +0000 (16:12 +0100)
commitc7ba7fa8b286ce93e8c61fe8a0ef44b8a326058b
treedc8451c69554d2398e6439504724195f45f1601d
parent808b2a44c4bb0b37601b99bc592d1136e651e46b
Bug 7615 - Give option to use description for homebranch/holding branch in label creator instead of the branchcode

This patch adds the ability to print the name of the item's homebranch on labels

Thanks to Shane Sammons <ssammons-at-npelem.com> for the modified SQL SELECT statement.

Document Manager: The documentation will need to be updated to reflect the added field 'branchname' to the list
of available fields for label printing.

To test:

1. Create a new label layout or modify an existing one to include 'branchname'
2. Create a new label batch or using an existing one, export the batch.
3. Verify that the resulting labels contain the home branch name for the respective items.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Tested with the plan - works

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Labels/Label.pm
labels/label-create-pdf.pl