Skip to content
Snippets Groups Projects

Issue #3301075: Provide a method in QueryString for programmatically called facets

Closed Issue #3301075: Provide a method in QueryString for programmatically called facets
All threads resolved!
All threads resolved!
Files
3
@@ -84,7 +84,7 @@ class QueryString extends UrlProcessorPluginBase {
@@ -84,7 +84,7 @@ class QueryString extends UrlProcessorPluginBase {
}
}
// First get the current list of get parameters.
// First get the current list of get parameters.
$get_params = $this->request->query;
$get_params = $this->urlGenerator::urlParameters($this->request->query);
// When adding/removing a filter the number of pages may have changed,
// When adding/removing a filter the number of pages may have changed,
// possibly resulting in an invalid page parameter.
// possibly resulting in an invalid page parameter.
@@ -312,7 +312,7 @@ class QueryString extends UrlProcessorPluginBase {
@@ -312,7 +312,7 @@ class QueryString extends UrlProcessorPluginBase {
* is an array of raw values.
* is an array of raw values.
*/
*/
protected function initializeActiveFilters() {
protected function initializeActiveFilters() {
$url_parameters = $this->request->query;
$url_parameters = $this->urlGenerator::urlParameters($this->request->query);
// Get the active facet parameters.
// Get the active facet parameters.
$active_params = $url_parameters->get($this->filterKey);
$active_params = $url_parameters->get($this->filterKey);
Loading