1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00
This commit is contained in:
Nicolas Florentin 2023-06-30 11:26:26 +02:00
parent 8217bb1a59
commit af69ba67df

View File

@ -322,7 +322,8 @@ Application.Controllers.controller('ProjectsController', ['$scope', '$state', 'P
machine_id: (parseInt($location.$$search.machine_id) || undefined),
component_id: (parseInt($location.$$search.component_id) || undefined),
theme_id: (parseInt($location.$$search.theme_id) || undefined),
status_id: (parseInt($location.$$search.status_id) || undefined)
status_id: (parseInt($location.$$search.status_id) || undefined),
project_category_id: (parseInt($location.$$search.project_category_id) || undefined)
};
// list of projects to display
@ -379,6 +380,7 @@ Application.Controllers.controller('ProjectsController', ['$scope', '$state', 'P
$scope.search.component_id = undefined;
$scope.search.theme_id = undefined;
$scope.search.status_id = undefined;
$scope.search.project_category_id = undefined;
$scope.$apply();
$scope.setUrlQueryParams($scope.search);
$scope.triggerSearch();