Update labels formatstring parse to pick the correct item tag from MARC data.
authorRyan Higgins <rch@liblime.com>
Sun, 10 Aug 2008 21:07:11 +0000 (16:07 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 10 Aug 2008 21:18:10 +0000 (16:18 -0500)
commit988f66390b6d8cef68815ebf9b03182b62b7a4b3
tree893c9089606d398298d910d8e8d2d3b3fd86c0ae
parent49ffa55a2e309679d6b08cb2b0a0229fa4ac0e3a
Update labels formatstring parse to pick the correct item tag from MARC data.

This patch allows use of "952a" e.g. in labels format string, getting the item-level
data from the correct MARC tag.  Previously it just grabbed the data from the first item tag.

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