FilterChain: addFilter should return itself
This commit is contained in:
parent
387928de02
commit
9e0e3f12e3
|
@ -185,6 +185,7 @@ abstract class FilterChain extends Filter
|
|||
{
|
||||
$this->filters[] = $filter;
|
||||
$filter->setId($this->getId() . '-' . $this->count());
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function &filters()
|
||||
|
|
|
@ -196,7 +196,6 @@ class FilterEditor extends AbstractWidget
|
|||
$filter = $this->mergeRootExpression($filter, $k, '=', $v);
|
||||
}
|
||||
|
||||
|
||||
$url = $this->url()->setQueryString(
|
||||
$filter->toQueryString()
|
||||
)->addParams($preserve);
|
||||
|
|
Loading…
Reference in New Issue