fixed a javascript param

This commit is contained in:
Michele Artini 2021-03-16 09:46:05 +01:00
parent c6d06856d2
commit aabe1dd6c7
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ orgsModule.controller('typesCtrl', function ($scope, $http, $routeParams) {
call_http_get($http, 'api/organizations/browse/types', function(res) { $scope.entries = res.data; });
});
orgsModule.controller('byTypeCtrl', function ($scope, $http, $routeParams, $) {
orgsModule.controller('byTypeCtrl', function ($scope, $http, $routeParams, $location) {
$scope.fieldValue = $routeParams.type;