UPC search in misc_util.tt2 is too broad
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned | ||
2.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Evergreen master (all the way back to the beginning of TPAC time)
misc_util.tt2 currently searches for UPC codes like so:
args.upcs = [];
FOR upc IN xml.findnodes(
END;
args.upc = args.upcs.0; # use first UPC as the default
However, the 024 field can actually be used for many, many different other standard identifiers, as documented at http://
The search for UPCs should look for either a first indicator of "1" or a subfield 2 with a value of "upc" (per http://
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
no longer affects: | evergreen/2.8 |
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ dbs/lp1402905_ stricter_ upc is a simple attempt to address this issue. Still needs testing before I'm going to tag this as a pull request.