LP#1402905 Use stricter matching for UPC values
authorDan Scott <dscott@laurentian.ca>
Tue, 16 Dec 2014 04:23:49 +0000 (23:23 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 5 Jan 2015 17:45:38 +0000 (12:45 -0500)
commitbe2529e3f41bacc1658e6540083c5582aa03d944
tree0a9637eb93973385ecf5f98791df15e1aae12ed0
parentd7cd64f40dfbcdfb23b1ca33daab9d63b16baa15
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>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/misc_util.tt2