LP#1402905 Use stricter matching for UPC values user/dbs/lp1402905_stricter_upc
authorDan Scott <dscott@laurentian.ca>
Tue, 16 Dec 2014 04:23:49 +0000 (23:23 -0500)
committerDan Scott <dscott@laurentian.ca>
Tue, 16 Dec 2014 04:23:49 +0000 (23:23 -0500)
commit38dc8a7a659b3b383abef9168c5865a592f7baa7
tree41e479420a1ce75b998bdb6ebb03be8e49505dfc
parent21b6220b89c5f27452593200f8bea22cb2db33b2
LP#1402905 Use stricter matching for UPC values

Per http://www.loc.gov/marc/bibliographic/bd024.html we
should be checking to see if either the ind1 is "1" or
if there's a subfield 2 with a value of "upc" before
assuming that any "Other standard identifier" 024 field
is a UPC value.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/misc_util.tt2