ServicesController: Preserve limit, sort and view params when filtering

This commit is contained in:
Johannes Meyer 2020-05-19 12:27:24 +02:00
parent 4313b9b19a
commit 7204433f5e

View file

@ -56,7 +56,11 @@ class ServicesController extends Controller
]
);
$viewModeSwitcher = $this->createViewModeSwitcher();
$filterControl = $this->createFilterControl($services);
$filterControl = $this->createFilterControl($services, [
$limitControl->getLimitParam(),
$sortControl->getSortParam(),
$viewModeSwitcher->getViewModeParam()
]);
$services->peekAhead($compact);