Commit 5364cec7 authored by François Agneray's avatar François Agneray
Browse files

#33 => done

parent d2c907ac
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment