From 60efc98ffe680de07cc270c803c7cdeeac07f1ad Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Mon, 31 Jan 2022 17:26:15 -0500 Subject: [PATCH] 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 --- Open-ILS/web/js/ui/default/staff/circ/patron/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.11.0