From c06dffb8a266a764096904c23be0decf9403a507 Mon Sep 17 00:00:00 2001 From: laeshiny Date: Fri, 17 Mar 2017 00:41:58 +0900 Subject: [PATCH] when requesting Team, sort in ascending order by Name --- public/js/controllers/projects/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/controllers/projects/users.js b/public/js/controllers/projects/users.js index 3d2046b0..10b166c7 100644 --- a/public/js/controllers/projects/users.js +++ b/public/js/controllers/projects/users.js @@ -1,7 +1,7 @@ define(function () { app.registerController('ProjectUsersCtrl', ['$scope', '$http', 'Project', '$uibModal', '$rootScope', function ($scope, $http, Project, $modal, $rootScope) { $scope.reload = function () { - $http.get(Project.getURL() + '/users').success(function (users) { + $http.get(Project.getURL() + '/users?sort=name&order=asc').success(function (users) { $scope.project_user = null; $scope.users = users;