ArrayDatasource: Make it cloning itself when creating a new query

Quickfix only. The actual issue is that the datasource caches indifferently
the result of the first evaluated query. This should be done by the query.
This commit is contained in:
Johannes Meyer 2015-09-28 12:26:33 +02:00
parent ee7e7a1a78
commit 7a8ac9796b
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class ArrayDatasource implements Selectable
*/
public function select()
{
return new SimpleQuery($this);
return new SimpleQuery(clone $this);
}
/**