-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Views pager should be built with view::get_exposed_input(), not $view->exposed_raw_input. #6843
Comments
Hi @anemirovsky, many thanks for reporting and your PR. I almost missed it, because it doesn't link to this issue (as recommended). Suggestion: instead of plain In the meantime I'll try to find someone who can approve your PR, so the functional tests run. |
Oh, and BTW, our issue template contains suggestions for a helpful issue description, which contains crucial info like steps to reproduce and environment info like Backdrop CMS and PHP version. Your current description's a bit... short. 😉 |
@anemirovsky thanks so much for providing the PR. Can you please edit the OP and include steps to reproduce the error? It's difficult to test PRs without that. As mentioned by @indigoxela above, the descriptions need to be rich in details. |
Since it matches the Drupal patch exactly and it's been in Drupal for quite some time, it's probably just fine here. Once we get some testing, let's merge. |
Apologies, I've updated the OP with steps to reproduce. I'd assumed since this was an issue that was fixed in D7 Views that the original issue report and patch would be sufficient but I'll be sure to add details going forward for these kinds of things. |
Confirming this fixes this issue. RTBC |
This is documented in #3723 under 2f23c3e0 | Issue #2315365 by alexdmccabe: Pager should be built with view::get_exposed_input(), not $view->exposed_raw_input..
We hit a bug where the pager links were incorrectly including
&
symbols for Views exposed filters that were empty, so the URL would look like https://example.org/search?type=country&&&&&&page=1 rather than https://example.org/search?type=country&page=1 and the View output would break because of it.PR incoming!
Steps to reproduce:
The text was updated successfully, but these errors were encountered: