LP1010635: Make bre dates populate in Item Status grid
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 3 Jun 2018 22:50:40 +0000 (15:50 -0700)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 22 Aug 2018 20:13:22 +0000 (16:13 -0400)
To test:
1) Enable the Date Record Created and Date Record Last Edited columns
in Item Status.
2) Scan an item barcode into Item Status.  Note that the two columns
you enabled are empty.
3) Apply this commit.
4) Reload the Item Status screen, and scan your barcode again.  The
dates should now be populated.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/web/js/ui/default/staff/circ/services/item.js

index 9baaf72..4d4ae20 100644 (file)
@@ -23,7 +23,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog
         select : { 
             // avoid fleshing MARC on the bre
             // note: don't add simple_record.. not sure why
-            bre : ['id','tcn_value','creator','editor'],
+            bre : ['id','tcn_value','creator','editor', 'create_date', 'edit_date'],
         } 
     }