From 96c30ebbd617c6ab3ab03dcb77294cb9f4c321cf Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 16 May 2017 12:06:37 -0400 Subject: [PATCH] LP#1612752 No canceled transits in webstaff transit list Avoid displaying canceled (previously aborted/deleted) transits in the web staff Transit List interface. Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- Open-ILS/web/js/ui/default/staff/circ/transits/list.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 4ae321fbf2..9fb8a974e5 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 @@ -212,7 +212,8 @@ function($scope , $q , $routeParams , $window , egCore , egTransits , egGridData function current_query() { var filter = { 'source_send_time' : { 'between' : date_range() }, - 'dest_recv_time' : null + 'dest_recv_time' : null, + 'cancel_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