Skip to content

Commit

Permalink
Fixed a bug. Forgot to disable the single access filter (it's now mul…
Browse files Browse the repository at this point in the history
…tiple)
  • Loading branch information
vistamedia committed Nov 12, 2020
1 parent c153288 commit 5d3cb3d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions admin/models/sermons.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ protected function populateState($ordering = null, $direction = null)
$name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name');
$this->setState('filter.name', $name);

// $preacher = $this->getUserStateFromRequest($this->context . '.filter.preacher', 'filter_preacher');
// $this->setState('filter.preacher', $preacher);

$series = $this->getUserStateFromRequest($this->context . '.filter.series', 'filter_series');
$this->setState('filter.series', $series);

Expand All @@ -87,9 +84,6 @@ protected function populateState($ordering = null, $direction = null)
$category = $app->getUserStateFromRequest($this->context . '.filter.category', 'filter_category');
$this->setState('filter.category', $category);

// $categoryId = $this->getUserStateFromRequest($this->context . '.filter.category_id', 'filter_category_id');
// $this->setState('filter.category_id', $categoryId);

$catid = $app->getUserStateFromRequest($this->context . '.filter.catid', 'filter_catid');
$this->setState('filter.catid', $catid);

Expand All @@ -102,9 +96,6 @@ protected function populateState($ordering = null, $direction = null)
$sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int');
$this->setState('filter.sorting', $sorting);

$access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int');
$this->setState('filter.access', $access);

$search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search');
$this->setState('filter.search', $search);

Expand Down

0 comments on commit 5d3cb3d

Please sign in to comment.