Skip to content

Commit

Permalink
#2261 Sort search result by creation date
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Nov 25, 2021
1 parent 82325c9 commit 1b93ea5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/app/scripts/controllers/SearchCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
$scope.searchResults = PSearchSrv(undefined, entityName === 'all' ? 'any' : $scope.metadata[entityName].path, {
filter: query,
baseFilter: $scope.buildBaseFilter(entityName),
sort: "-createdAt",
nparent: 10,
nstats: entityName === 'audit',
skipStream: true
Expand Down

0 comments on commit 1b93ea5

Please sign in to comment.