mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
when requesting Team, sort in ascending order by Name
This commit is contained in:
parent
c2a1165fc4
commit
c06dffb8a2
@ -1,7 +1,7 @@
|
|||||||
define(function () {
|
define(function () {
|
||||||
app.registerController('ProjectUsersCtrl', ['$scope', '$http', 'Project', '$uibModal', '$rootScope', function ($scope, $http, Project, $modal, $rootScope) {
|
app.registerController('ProjectUsersCtrl', ['$scope', '$http', 'Project', '$uibModal', '$rootScope', function ($scope, $http, Project, $modal, $rootScope) {
|
||||||
$scope.reload = function () {
|
$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.project_user = null;
|
||||||
$scope.users = users;
|
$scope.users = users;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user