Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
<eg-grid-field label="[% l('Status') %]" path='status_string'></eg-grid-field>
<eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
+ <eg-grid-field label="[% l('Cancel Cause') %]"path='hold.cancel_cause.label' hidden></eg-grid-field>
<eg-grid-field path='hold.*' parent-idl-class="ahr" ignore="current_copy" hidden></eg-grid-field>
<eg-grid-field path='copy.*' parent-idl-class="acp" hidden></eg-grid-field>
<eg-grid-field path='hold.usr.*' parent-idl-class="au" hidden></eg-grid-field>
if (hold.requestor() && typeof hold.requestor() != 'object')
egCore.pcrud.retrieve('au',hold.requestor()).then(function(u) { hold.requestor(u) });
+ if (hold.cancel_cause() && typeof hold.cancel_cause() != 'object')
+ egCore.pcrud.retrieve('ahrcc',hold.cancel_cause()).then(function(c) { hold.cancel_cause(c) });
+
if (hold.usr() && typeof hold.usr() != 'object')
egCore.pcrud.retrieve('au',hold.usr()).then(function(u) { hold.usr(u) });