TPAC: Avoid showing URIs from 856 if we have OpenURL results feature/tpac_eresources_highlander_2_4
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:42:24 +0000 (12:42 -0400)
commit82818918806ea55b500e9879f6f73e85dabde331
treec6e21ce99ee06fb522b9bb1437087358021eb8d6
parent73adbb3e56f8e0cad2997ea09d8257e3307b9934
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