Skip to content

Commit

Permalink
Change: let category filters act on stored category data
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruud68 committed Mar 15, 2024
1 parent 77ae598 commit 8d41f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin/src/Model/CategoriesModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ public function getAdminCategories()
'filterAllowPolls' => $this->getState('filter.allowPolls', '') === '' ? null : $this->getState('filter.allowPolls', ''),
'filterReview' => $this->getState('filter.review', '') === '' ? null : $this->getState('filter.review', ''),
'filterAnonymous' => $this->getState('filter.anonymous', '') === '' ? null : $this->getState('filter.anonymous', ''),
'action' => 'none',
'action' => 'admin',
];

$catid = $this->getState('filter.category', '') === '' ? $this->getState('item.id', 0) : $this->getState('filter.category', '');
Expand Down

0 comments on commit 8d41f31

Please sign in to comment.