Skip to content

Commit

Permalink
Merge pull request #993 from joomlatools/feature/992-filter
Browse files Browse the repository at this point in the history
Collection filter not working
  • Loading branch information
johanjanssens authored Dec 28, 2022
2 parents 7550ad7 + da4523d commit e0c2640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/model/factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ public function createModel($name, $state = [], $filter = [], $replace = true)
} else {
$filter = array_replace_recursive($filter, $default_filter);
}

$state['filter'] = $filter;
}

$state['filter'] = $filter;

$model->setState($state);

//Store the collection
Expand Down

0 comments on commit e0c2640

Please # to comment.