Change && back to || and repair editions display in TPAC.
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
args.summary = (args.summary.size) ? args.summary.0 : '';
args.editions = [];
- ed_hunt = xml.findnodes('//*[@tag="250"]/*[@code="a"]') &&
- xml.findnodes('//*[@tag="534"]/*[@code="b"]') &&
+ ed_hunt = xml.findnodes('//*[@tag="250"]/*[@code="a"]') ||
+ xml.findnodes('//*[@tag="534"]/*[@code="b"]') ||
xml.findnodes('//*[@tag="775"]/*[@code="b"]');
FOR sub IN ed_hunt;
args.editions.push(sub.textContent);