From: Terran McCanna Date: Fri, 18 Jun 2021 22:12:08 +0000 (-0400) Subject: LP1904754 Former precat still displays precat info X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=88980dac4ca4d04c7b55a9126e98e93b17b80947;p=evergreen%2Fpines.git LP1904754 Former precat still displays precat info This fixes a display issue where the precat title and author were still displaying once the record was no longer a precat, which effectively duplicated the title and author. Signed-off-by: Terran McCanna Signed-off-by: Jason Boyer Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 b/Open-ILS/src/templates/staff/cat/item/t_list.tt2 index 6d6e08cde9..cc5a57e052 100644 --- a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/t_list.tt2 @@ -87,16 +87,11 @@ + - - {{item['dummy_title']}} - - - - {{item['call_number.record.simple_record.title']}} - - + {{item['call_number.record.simple_record.title'] ? + '' + item['call_number.record.simple_record.title'] + '' : item['dummy_title'] }} diff --git a/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 b/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 index aff03bf0df..f325321d7d 100644 --- a/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 @@ -4,7 +4,7 @@ [% l('This item has been marked as Deleted.') %] -
+
[% l('Precat Title') %]
{{copy.dummy_title()}}