TPAC: Avoid showing URIs from 856 if we have OpenURL results
authorDan Scott <dscott@laurentian.ca>
Fri, 10 May 2013 16:42:24 +0000 (12:42 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 10 May 2013 16:47:43 +0000 (12:47 -0400)
commit6a6fca11b34e3ae56a56487522846931fea8d268
tree7efe3974ce80e273373b89028d267710d01232b9
parente2b6b0ac48ed2c23fed1a1ea1256a6086c5736ef
TPAC: Avoid showing URIs from 856 if we have OpenURL results

There is already a lot of logic to deduplicate OpenURL results versus
URIs in 856 fields, but in practice URIs in 856s tend to be subject to
bitrot, while SFX generally should be trustworthy. Thus, don't generate
electronic resources for 856s if we have OpenURL results.

Another optimization might be to hide the 856 results in case SFX is
wrong, then give users the ability to show them, but that might be
something we only want to enable in the staff client...

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