From 17836cfd67e989e195a7995b286f6fb058718d13 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Mon, 4 Jan 2021 14:32:40 -0500 Subject: [PATCH] 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 --- .../templates-bootstrap/opac/myopac/circ_history.tt2 | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) 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 %] -- 2.11.0