- filter out transits that have been received, thus matching
previous XUL functionality
- remove the Receive Date/Time column, as it is superfluous
- display the time component of the Send Date/Time
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
<eg-grid-field path='target_copy.call_number.record.simple_record.author' hidden></eg-grid-field>
<eg-grid-field path='source.shortname' label="[% l('Source Library') %]"></eg-grid-field>
<eg-grid-field path='dest.shortname' label="[% l('Destination Library') %]"></eg-grid-field>
- <eg-grid-field path='source_send_time'></eg-grid-field>
- <eg-grid-field path='dest_recv_time'></eg-grid-field>
+ <eg-grid-field path='source_send_time' dateformat='short''></eg-grid-field>
<eg-grid-field path='hold_transit_copy.hold.hold_type'></eg-grid-field>
<eg-grid-field path='hold_transit_copy.hold.request_time' hidden></eg-grid-field>
<eg-grid-field path='hold_transit_copy.hold.capture_time' hidden></eg-grid-field>
var recv_index = 0;
var filter = {
- 'source_send_time' : { 'between' : date_range() }
+ 'source_send_time' : { 'between' : date_range() },
+ 'dest_recv_time' : null
};
if ($scope.transit_direction == 'to') { filter['dest'] = $scope.context_org.id(); }
if ($scope.transit_direction == 'from') { filter['source'] = $scope.context_org.id(); }