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>
Tue, 11 Nov 2014 19:16:33 +0000 (14:16 -0500)
commitb3b634538d9124d6f4897257ba5f32ae44d5c936
tree97b796409405c7503149b7f14b5ba92f0df29201
parent6d68a5bccf4a27ce74e626705f7b3c6067e3998b
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