From: Terran McCanna Date: Mon, 31 Jan 2022 22:26:15 +0000 (-0500) Subject: LP1956970 Sort Patron Notes - Most Recent First X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=60efc98ffe680de07cc270c803c7cdeeac07f1ad;p=evergreen%2Fpines.git LP1956970 Sort Patron Notes - Most Recent First This changes the default sort order of patron notes from oldest first to most recent first. Signed-off-by: Terran McCanna Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js index 0c4268a253..127d86cc6b 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js @@ -788,7 +788,7 @@ function($scope , $q , $routeParams, egCore , $uibModal , patronSvc , egCirc , var activeGrid = $scope.activeGridControls = { setSort : function() { - return ['create_date']; + return [{'create_date' : 'DESC'}]; }, setQuery : function() { return { @@ -804,7 +804,7 @@ function($scope , $q , $routeParams, egCore , $uibModal , patronSvc , egCirc , var archiveGrid = $scope.archiveGridControls = { setSort : function() { - return ['create_date']; + return [{'create_date' : 'DESC'}]; }, watchQuery : function() { return {