mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-25 06:15:56 +01:00
when requesting Task Templates, sort in ascending order by Name
This commit is contained in:
parent
fa69fd13d8
commit
7196c86e61
@ -1,7 +1,7 @@
|
||||
define(function () {
|
||||
app.registerController('ProjectInventoryCtrl', ['$scope', '$http', '$uibModal', 'Project', '$rootScope', function ($scope, $http, $modal, Project, $rootScope) {
|
||||
$scope.reload = function () {
|
||||
$http.get(Project.getURL() + '/inventory').success(function (inventory) {
|
||||
$http.get(Project.getURL() + '/inventory?sort=name&order=asc').success(function (inventory) {
|
||||
$scope.inventory = inventory;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user