diff --git a/src/Controller/Api/Assets/CollectionController.php b/src/Controller/Api/Assets/CollectionController.php index b0f324761..0ef5cbbd7 100644 --- a/src/Controller/Api/Assets/CollectionController.php +++ b/src/Controller/Api/Assets/CollectionController.php @@ -90,7 +90,7 @@ public function getAssets(#[MapQueryString] Parameters $parameters): JsonRespons { $assetQuery = $this->filterService->applyFilters( $parameters, - 'test' + FilterServiceInterface::TYPE_ASSET ); $result = $this->assetSearchService->searchAssets($assetQuery);