Skip to content
Snippets Groups Projects
Commit 07ecd441 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Adding filters parameter

parent c0edefb1
No related branches found
No related tags found
1 merge request!2Feature be module
...@@ -63,7 +63,13 @@ class BackendController extends ActionController { ...@@ -63,7 +63,13 @@ class BackendController extends ActionController {
*/ */
private $tagRepository; private $tagRepository;
public function indexAction() { /**
* @param array $filters
* @throws \InvalidArgumentException
* @throws \UnexpectedValueException
* @throws \TYPO3\CMS\Extbase\Persistence\Exception\InvalidQueryException
*/
public function indexAction(array $filters = []) {
// create doc header component // create doc header component
$pageUid = (int) GeneralUtility::_GP('id'); $pageUid = (int) GeneralUtility::_GP('id');
/** @var BackendUserAuthentication $backendUser */ /** @var BackendUserAuthentication $backendUser */
...@@ -82,5 +88,6 @@ class BackendController extends ActionController { ...@@ -82,5 +88,6 @@ class BackendController extends ActionController {
$this->view->assign('pageUid', $pageUid); $this->view->assign('pageUid', $pageUid);
$this->view->assign('categories', $categories); $this->view->assign('categories', $categories);
$this->view->assign('news', $news); $this->view->assign('news', $news);
$this->view->assign('fitlers', $filters);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment