From: Bill Erickson Date: Tue, 16 May 2017 16:06:37 +0000 (-0400) Subject: LP#1612752 No canceled transits in webstaff transit list X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=96c30ebbd617c6ab3ab03dcb77294cb9f4c321cf;p=evergreen%2Fjoelewis.git 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 --- 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(); }