From fe731567ded646d81b2c2103a4fc22114e5887c4 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 17 Oct 2016 18:20:04 -0400 Subject: [PATCH] webstaff: tweaks to transit list - 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 Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/staff/circ/transits/t_list.tt2 | 3 +-- Open-ILS/web/js/ui/default/staff/circ/transits/list.js | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates/staff/circ/transits/t_list.tt2 b/Open-ILS/src/templates/staff/circ/transits/t_list.tt2 index 34b19c4517..d6726bbbc6 100644 --- a/Open-ILS/src/templates/staff/circ/transits/t_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/transits/t_list.tt2 @@ -48,8 +48,7 @@ - - + diff --git a/Open-ILS/web/js/ui/default/staff/circ/transits/list.js b/Open-ILS/web/js/ui/default/staff/circ/transits/list.js index 9dd066d75e..fd19018692 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/transits/list.js +++ b/Open-ILS/web/js/ui/default/staff/circ/transits/list.js @@ -104,7 +104,8 @@ function($scope , $q , $routeParams , $window , egCore , egTransits , egGridData 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(); } -- 2.43.2