Skip to content

Commit

Permalink
[5.2] Add required content filters for the administrator menu (#44426)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kubik-Rubik authored Nov 9, 2024
1 parent 30a64b3 commit ce8b38b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,14 @@ protected function populateState($ordering = 'a.id', $direction = 'desc')
$this->context .= '.' . $forcedLanguage;
}

// Required content filters for the administrator menu
$this->getUserStateFromRequest($this->context . '.filter.category_id', 'filter_category_id');
$this->getUserStateFromRequest($this->context . '.filter.level', 'filter_level');
$this->getUserStateFromRequest($this->context . '.filter.author_id', 'filter_author_id');
$this->getUserStateFromRequest($this->context . '.filter.tag', 'filter_tag', '');
$this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access');
$this->getUserStateFromRequest($this->context . '.filter.language', 'filter_language', '');

// List state information.
parent::populateState($ordering, $direction);

Expand Down

0 comments on commit ce8b38b

Please sign in to comment.