From: Terran McCanna Date: Mon, 4 Jan 2021 19:32:40 +0000 (-0500) Subject: LP1910138 Display Precat Info in Circ History X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=17836cfd67e989e195a7995b286f6fb058718d13;p=Evergreen.git LP1910138 Display Precat Info in Circ History This adds the precat title and author to the circ history table in My Account in the Bootstrap OPAC. Signed-off-by: Terran McCanna Signed-off-by: Garry Collum Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 index 0ad3f8a122..6b994a2b5b 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 @@ -130,19 +130,26 @@ + [% IF circ.circ.target_copy.call_number.id == -1 %] + [% circ.circ.target_copy.dummy_title | html %] + [% ELSIF circ.ATTRS.title %] [%- circ.ATTRS.title.substr(0,circ.ATTRS.nonfiling_characters) | html %] [%- circ.ATTRS.title.substr(circ.ATTRS.nonfiling_characters) | html %] + [% END %] - [% IF circ.ATTRS.author %] - [% circ.ATTRS.author | html %] - [%END; %] + [% IF circ.circ.target_copy.call_number.id == -1 %] + Author + [% circ.circ.target_copy.dummy_author | html %] + [% ELSIF circ.ATTRS.author %] + [% circ.ATTRS.author | html %] + [% END; %] [% circ.circ.target_copy.call_number.label | html %]