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)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 11 Sep 2018 18:34:45 +0000 (14:34 -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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

Open-ILS/web/js/ui/default/staff/circ/services/item.js

index 9fc4e3f..b03f57d 100644 (file)
@@ -24,7 +24,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'],
         } 
     }