diff --git a/public/js/controllers/projects/inventory.js b/public/js/controllers/projects/inventory.js index 33da7066..14ddeca0 100644 --- a/public/js/controllers/projects/inventory.js +++ b/public/js/controllers/projects/inventory.js @@ -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; }); }