Circ and Cataloging staff need a quick way to view the Active
Date of an item in the "Item Status" (F5) interface. This
makes that column available for selection.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
},
{
'fm_class' : 'acp',
+ 'id' : 'acp_active_date',
+ 'label' : document.getElementById('circStrings').getString('staff.circ.utils.active_date'),
+ 'flex' : 1,
+ 'sort_type' : 'date',
+ 'primary' : false,
+ 'hidden' : true,
+ 'editable' : false, 'render' : function(my) { return util.date.formatted_date( my.acp.active_date(), '%{localized}' ); }
+ ,'sort_value' : function(my) {
+ return util.date.db_date2Date(
+ my.acp
+ ? my.acp.active_date()
+ : null
+ ).getTime();
+ }
+ },
+ {
+ 'fm_class' : 'acp',
'id' : 'acp_edit_date',
'label' : document.getElementById('circStrings').getString('staff.circ.utils.edit_date'),
'flex' : 1,
staff.circ.utils.checkin_scan_time=Checkin Scan Date
staff.circ.utils.checkin_workstation=Checkin Workstation
staff.circ.utils.create_date=Date Created
+staff.circ.utils.active_date=Date Active
staff.circ.utils.edit_date=Date Last Edited
staff.circ.utils.bre.create_date=Date Record Created
staff.circ.utils.bre.edit_date=Date Record Last Edited