* [ADD] Unit testing. Work in progress.

* [MOD] Improved accounts search filtering by using an operator (AND/OR) for searching filters. The operator will work on any filter field set (text, client, category and tags).
This commit is contained in:
nuxsmin
2018-05-31 01:38:55 +02:00
parent 6d5d823681
commit ea8baebf37
8 changed files with 337 additions and 77 deletions

View File

@@ -69,7 +69,7 @@ class QueryCondition
throw new \RuntimeException(__u('Tipo de filtro inválido'));
}
return $this->hasFilters() ? implode($type, $this->query) : null;
return $this->hasFilters() ? '(' . implode($type, $this->query) . ')' : null;
}
/**