Skip to content
Snippets Groups Projects
Commit c3979577 authored by Demian Katz's avatar Demian Katz
Browse files

Merge branch 'release-4.1'

parents 3b5c8717 8867b6c3
No related merge requests found
......@@ -56,7 +56,8 @@ class QueryBuilder
public function build(AbstractQuery $query)
{
// Send back results
$params = new ParamBag(['query' => $this->abstractQueryToArray($query)]);
$q = $this->abstractQueryToArray($query);
$params = new ParamBag(['query' => empty($q) ? '*' : $q]);
return $params;
}
......
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