Add TCN and other missing columns to Item Buckets. user/tlittle/lp1724965_copybucketcolumns2
authorTiffany Little <tlittle@georgialibraries.org>
Tue, 22 Oct 2019 20:35:33 +0000 (16:35 -0400)
committerTiffany Little <tlittle@georgialibraries.org>
Tue, 22 Oct 2019 20:35:33 +0000 (16:35 -0400)
Adds classification, ISBN, owning library, pub date, publisher, TCN and TCN source.

Open-ILS/src/templates/staff/cat/bucket/copy/t_pending.tt2
Open-ILS/src/templates/staff/cat/bucket/copy/t_view.tt2

index 431d2d4..64dd83f 100644 (file)
 
   <eg-grid-field path="id" required hidden></eg-grid-field>
   <eg-grid-field path="call_number.record.id" required hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Acquisition Cost') %]" path="cost"></eg-grid-field>
   <eg-grid-field label="[% l('Barcode') %]"     path='barcode' visible>
     <a target="_self" href="[% ctx.base_path %]/staff/cat/item/{{item['id']}}">
       {{item['barcode']}}
     </a>
   </eg-grid-field>
-  <eg-grid-field label="[% l('CN Prefix') %]" path="call_number.prefix.label"></eg-grid-field>
   <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
+  <eg-grid-field label="[% l('Circ as Type') %]" path="circ_as_type.value" hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Classification') %]" path="call_number.label_class.name" hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Created By') %]" path="creator.usrname" hidden></eg-grid-field>
+  <eg-grid-field label="[% l('CN Prefix') %]" path="call_number.prefix.label"></eg-grid-field>
   <eg-grid-field label="[% l('CN Suffix') %]" path="call_number.suffix.label"></eg-grid-field>
+  <eg-grid-field label="[% l('ISBN') %]" path="call_number.record.simple_record.isbn" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
-
+  <eg-grid-field label="[% l('Owning Library') %]" path="call_number.owning_lib.shortname" hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Publication Date') %]" path="call_number.record.simple_record.pubdate" hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Publisher') %]" path="call_number.record.simple_record.publisher" hidden></eg-grid-field>
+  <eg-grid-field path="call_number.record.simple_record.tcn_value" label="[% l('TCN') %]" hidden></eg-grid-field>
+  <eg-grid-field path="call_number.record.simple_record.tcn_source" label="[% l('TCN Source') %]" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Title') %]"
     path="call_number.record.simple_record.title" visible>
     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">
@@ -60,5 +69,4 @@
   </eg-grid-field>
   <eg-grid-field path="latest_inventory.inventory_date" datatype="timestamp" label="[% l('Inventory Date') %]"></eg-grid-field>
   <eg-grid-field path="latest_inventory.inventory_workstation.name" label="[% l('Inventory Workstation') %]"></eg-grid-field>
-
 </eg-grid>
index 5eb522c..0603373 100644 (file)
 
   <eg-grid-field path="id" required hidden></eg-grid-field>
   <eg-grid-field path="call_number.record.id" required hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Acquisition Cost') %]" path="cost"></eg-grid-field>
   <eg-grid-field label="[% l('Barcode') %]"     path='barcode' visible>
     <a target="_self" href="[% ctx.base_path %]/staff/cat/item/{{item['id']}}">
       {{item['barcode']}}
     </a>
   </eg-grid-field>
   <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
+  <eg-grid-field label="[% l('Circ as Type') %]" path="circ_as_type.value" hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Classification') %]" path="call_number.label_class.name" hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Created By') %]" path="creator.usrname" hidden></eg-grid-field>
   <eg-grid-field label="[% l('CN Prefix') %]" path="call_number.prefix.label"></eg-grid-field>
   <eg-grid-field label="[% l('CN Suffix') %]" path="call_number.suffix.label"></eg-grid-field>
+  <eg-grid-field label="[% l('ISBN') %]" path="call_number.record.simple_record.isbn" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
-
+  <eg-grid-field label="[% l('Owning Library') %]" path="call_number.owning_lib.shortname" hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Publication Date') %]" path="call_number.record.simple_record.pubdate" hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Publisher') %]" path="call_number.record.simple_record.publisher" hidden></eg-grid-field>
+  <eg-grid-field path="call_number.record.simple_record.tcn_value" label="[% l('TCN') %]" hidden></eg-grid-field>
+  <eg-grid-field path="call_number.record.simple_record.tcn_source" label="[% l('TCN Source') %]" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Title') %]"
     path="call_number.record.simple_record.title" visible>
     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">