From: Chris Sharp Date: Wed, 29 Nov 2017 17:45:21 +0000 (-0500) Subject: LP#1729922 Display most recent transit. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ff27100d21a8e97cf5b18eac3163f03e696e6d1f;p=evergreen%2Fpines.git LP#1729922 Display most recent transit. Currently, the new "most recent transit" feature under Item status in the web client shows the oldest transit. Reverse sorting so the most recent displays instead. Signed-off-by: Chris Sharp --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/item/app.js b/Open-ILS/web/js/ui/default/staff/cat/item/app.js index d1e8b5ed7d..549e8a371c 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/item/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/item/app.js @@ -836,7 +836,7 @@ function($scope , $q , $location , $routeParams , $timeout , $window , egCore , egCore.pcrud.search('atc', {target_copy : copyId}, - {order_by : {atc : 'source_send_time DESC'}} + {order_by : {atc : 'source_send_time ASC'}} ).then(null, null, function(transit) { $scope.transit = transit;