FilterEditor: allow to set the query from outside
Query will be used to provide a column list
This commit is contained in:
parent
118abbe980
commit
269f4b4c83
|
@ -70,6 +70,12 @@ class FilterEditor extends AbstractWidget
|
|||
return $this->url;
|
||||
}
|
||||
|
||||
public function setQuery($query)
|
||||
{
|
||||
$this->query = $query;
|
||||
return $this;
|
||||
}
|
||||
|
||||
protected function select($name, $list, $selected, $attributes = null)
|
||||
{
|
||||
$view = $this->view();
|
||||
|
|
Loading…
Reference in New Issue