From 0f7e89f0f4dfd82d14b59f33442252d14911ec17 Mon Sep 17 00:00:00 2001 From: Kyle Huckins Date: Wed, 11 Mar 2020 21:07:11 +0000 Subject: [PATCH] lp1801137 Item Status Precat Information - Display precat title, author, and isbn in place of regular title, author, and isbn fields in Item Status list view when working with precat items. - Add Dummy Title and Dummy Author fields to Item Status Detail view when looking at a precat item. Signed-off-by: Kyle Huckins Signed-off-by: Jennifer Pringle Signed-off-by: Jane Sandberg --- .../src/templates/staff/cat/item/t_list.tt2 | 19 ++++++++++++++----- .../staff/cat/item/t_summary_pane.tt2 | 10 +++++++++- 2 files changed, 23 insertions(+), 6 deletions(-) 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 ca61728a29..9ffb8799b8 100644 --- a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/t_list.tt2 @@ -89,14 +89,21 @@ - - {{item['call_number.record.simple_record.title']}} - + + {{item['dummy_title']}} + + + + {{item['call_number.record.simple_record.title']}} + + - + @@ -141,7 +148,9 @@ - + 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 865ee4e083..1b5f30f174 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,6 +4,14 @@ [% l('This item has been marked as Deleted.') %] +
+
[% l('Precat Title') %]
+
{{copy.dummy_title()}}
+ +
[% l('Precat Author') %]
+
{{copy.dummy_author()}}
+
+
[% l('Barcode') %]
{{copy.barcode()}}
@@ -59,7 +67,7 @@
[% l('ISBN') %]
- {{copy.call_number().record().simple_record().isbn()}} + {{copy.call_number().record().simple_record().isbn() || copy.dummy_isbn()}}
[% l('Loan Duration') %]
-- 2.43.2