From 2e9b71c23fd6c75bc6935c44d0b6132c18f1390f 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 --- .../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 0898bb3db8..7f1159fe5c 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 @@ -160,19 +160,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