Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
facets
Commits
7f41ea75
Commit
7f41ea75
authored
Apr 20, 2016
by
git
Committed by
borisson_
Apr 20, 2016
Browse files
Issue
#2704669
by karlosvh: Remove page parameter from urls
parent
d8546746
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Plugin/facets/url_processor/QueryString.php
View file @
7f41ea75
...
@@ -58,6 +58,10 @@ class QueryString extends UrlProcessorPluginBase {
...
@@ -58,6 +58,10 @@ 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
->
request
->
query
;
// When adding/removing a filter the number of pages may have changed,
// possibly resulting in an invalid page parameter.
$get_params
->
remove
(
'page'
);
// Set the url alias from the the facet object.
// Set the url alias from the the facet object.
$this
->
urlAlias
=
$facet
->
getUrlAlias
();
$this
->
urlAlias
=
$facet
->
getUrlAlias
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment