Fixed a bug. Forgot to disable the single access filter (it's now multiple)

This commit is contained in:
Emmanuel Danan 2020-11-12 15:54:42 +01:00
parent c153288f78
commit 5d3cb3dde8

View File

@ -75,9 +75,6 @@ class SermondistributorModelSermons extends JModelList
$name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); $name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name');
$this->setState('filter.name', $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'); $series = $this->getUserStateFromRequest($this->context . '.filter.series', 'filter_series');
$this->setState('filter.series', $series); $this->setState('filter.series', $series);
@ -87,9 +84,6 @@ class SermondistributorModelSermons extends JModelList
$category = $app->getUserStateFromRequest($this->context . '.filter.category', 'filter_category'); $category = $app->getUserStateFromRequest($this->context . '.filter.category', 'filter_category');
$this->setState('filter.category', $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'); $catid = $app->getUserStateFromRequest($this->context . '.filter.catid', 'filter_catid');
$this->setState('filter.catid', $catid); $this->setState('filter.catid', $catid);
@ -102,9 +96,6 @@ class SermondistributorModelSermons extends JModelList
$sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int');
$this->setState('filter.sorting', $sorting); $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'); $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search');
$this->setState('filter.search', $search); $this->setState('filter.search', $search);