From: Mike Rylander Date: Thu, 30 Aug 2018 20:48:23 +0000 (-0400) Subject: LP#1712854: Provide context-relevant default sort orders X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5ef57330c9a49db91f5794e53874a47ce6432ff7;p=evergreen%2Fjoelewis.git LP#1712854: Provide context-relevant default sort orders Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js index d778ec2cf1..43af4d568d 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js @@ -1728,7 +1728,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e pickup_lib : egCore.org.descendants($scope.pickup_ou.id(), true) }; - var order_by = [{ capture_time : null }]; + var order_by = [{ request_time : null }]; if (provider.sort && provider.sort.length) { order_by = []; angular.forEach(provider.sort, function (c) { diff --git a/Open-ILS/web/js/ui/default/staff/circ/holds/app.js b/Open-ILS/web/js/ui/default/staff/circ/holds/app.js index 27f76d1dd8..5ce21aa221 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/holds/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/holds/app.js @@ -88,7 +88,7 @@ function($scope , $q , $routeParams , $window , $location , egCore , egHolds , e current_shelf_lib : $scope.pickup_ou.id() }; - var order_by = [{ capture_time : null }]; + var order_by = [{ shelf_expire_time : null }]; if (provider.sort && provider.sort.length) { order_by = []; angular.forEach(provider.sort, function (c) {