|
|
@@ -64,9 +64,12 @@ abstract class AbstractAdminController extends SovAbstractAdminController |
|
|
|
$controller->configureFields($autocompleteContext['originatingPage']) |
|
|
|
)->getByProperty($autocompleteContext['propertyName']); |
|
|
|
|
|
|
|
$filterManager = $this->get(FilterManager::class); |
|
|
|
$filteredValue = ['value' => $context->getRequest()->query->get('q')]; |
|
|
|
$filterManager->applyFilter($repositoryQuery, $field, $filteredValue); |
|
|
|
if($field) { |
|
|
|
$filterManager = $this->get(FilterManager::class); |
|
|
|
$filteredValue = ['value' => $context->getRequest()->query->get('q')]; |
|
|
|
$filterManager->applyFilter($repositoryQuery, $field, $filteredValue); |
|
|
|
} |
|
|
|
|
|
|
|
$repositoryQuery->select('.' . $autocompleteContext['propertyName']); |
|
|
|
|
|
|
|
$responses = array(); |