diff --git a/application/controllers/EventsController.php b/application/controllers/EventsController.php index 336bc3f31..b5a26dfdf 100644 --- a/application/controllers/EventsController.php +++ b/application/controllers/EventsController.php @@ -83,8 +83,9 @@ public function indexAction(): void $this->addControl($limitControl); $this->addControl($searchBar); - $url = Url::fromRequest()->onlyWith($preserveParams); - $url->setQueryString(QueryString::render($filter) . '&' . $url->getParams()->toString()); + $url = Url::fromRequest() + ->onlyWith($preserveParams) + ->setFilter($filter); $eventList = (new LoadMoreObjectList($events->execute())) ->setPageSize($limitControl->getLimit())