I trying to implement custom layered navigation where the users can filter by more than 1 category (not an easy task in M2), I've managed to display all categories and subcategories at all times and filter the products collection with multiple categories.
$collection->addCategoriesFilter(array('in' => $categoriesId)); to
but the problem is that it does not affect the toolbar > meaning pagination and product count on page still show results for a single category.
Even when trying to modify the query itself in
_applyProductLimitations it doesn't work.
I'd appreciate any idea or suggestion to solve this problem.