mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +01:00
when requesting Key Store, sort in ascending order by Name
This commit is contained in:
parent
6c80cee3ea
commit
db644f998b
@ -1,7 +1,7 @@
|
||||
define(function () {
|
||||
app.registerController('ProjectKeysCtrl', ['$scope', '$http', '$uibModal', 'Project', '$rootScope', function ($scope, $http, $modal, Project, $rootScope) {
|
||||
$scope.reload = function () {
|
||||
$http.get(Project.getURL() + '/keys').success(function (keys) {
|
||||
$http.get(Project.getURL() + '/keys?sort=name&order=asc').success(function (keys) {
|
||||
$scope.keys = keys;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user