]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1992827: Improve OPAC URI display
authorMike Rylander <mrylander@gmail.com>
Thu, 13 Oct 2022 16:12:42 +0000 (12:12 -0400)
committerJane Sandberg <js7389@princeton.edu>
Mon, 13 Nov 2023 23:03:30 +0000 (15:03 -0800)
commit426244234c372ed540e15d6ca0f8348e783d0d5b
tree24a4d3a62c27e61932e27f73c5f7d22f0132de79
parent828a6f871fbe04d85c4c7132c37340b7f1f19811
LP#1992827: Improve OPAC URI display

Currently, the web staff client displays URIs in a slightly different
(and arguably better/more complete) way than the OPAC. In particular,
the staff client includes any 856 with an ind2 value of 0, 1, or 2, and
provides a label indicating the purpose of the URI based on the ind2
value. The OPAC, on the other hand, only displays 856s with an ind2 of 0
or 1, and does not distinguish the purpose.

This commit both implements the "purpose" labeling and allows ind2=2
URIs to be displayed.  Both BooPAC and TPAC templates are adjusted.

This does not change the way Located URIs are excluded from OPAC
display, they are still filtered out based on the existence of subfield
9.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/templates-bootstrap/opac/parts/misc_util.tt2
Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/misc_util.tt2
Open-ILS/src/templates/opac/parts/record/summary.tt2