diff --git a/src/Action/Search/SearchAction.php b/src/Action/Search/SearchAction.php index 412a4245bd357b5eb3d84ee43f4fb4836578ff19..023e5fcad15bea7f992c800dea42fcf2eb199823 100644 --- a/src/Action/Search/SearchAction.php +++ b/src/Action/Search/SearchAction.php @@ -211,7 +211,7 @@ final class SearchAction * @param Dataset $dataset Represents the requested dataset * @param string[] $listOfIds The substring of the url (parameter a) */ - private function select(QueryBuilder $queryBuilder, Dataset $dataset, array $listOfIds): void + private function select(QueryBuilder $queryBuilder, Dataset $dataset, array $listOfIds): array { $columns = array(); $attributes = array(); @@ -236,7 +236,7 @@ final class SearchAction { $expressions = array(); foreach ($criteria as $criterion) { - $params = $params = explode(':', $criterion); + $params = $params = explode('::', $criterion); $attribute = $this->getAttribute($dataset, (int) $params[0]); $column = $attribute->getTableName() . '.' . $attribute->getName(); $columnType = $attribute->getType();