Views pager next item lead to the first page always with the filled exposed filter and enabled ajax

Created on 30 March 2023, over 1 year ago
Updated 25 October 2023, 11 months ago

1. Enable ajax
2. Add expose filter
3. Use full pager
4. Go to to view page
5. Add some data to exposed filter
6. Go to the next page
-> You will see 1 page result
7. Go to the nex page again
-> You will see 1 page result again

----------
Next page shows link to &page=1 no matter on which page you ara right now.
----------
If no exposed filter, next page works well. If no ajax enabled, next page works well.

🐛 Bug report
Status

Postponed: needs info

Version

9.5

Component
Views 

Last updated about 9 hours ago

Created by

🇧🇬Bulgaria divined

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @divined
  • 🇧🇬Bulgaria divined

    Additional important info. Search API view. Mbe related to the search API module.

  • 🇧🇬Bulgaria divined

    No page data in the request->query, only in th request->request.

    PagerParameters.php:67 -> tried to get current page from the request->query.

  • 🇮🇳India arunkumark Coimbatore

    I have verified the shared scenarios with the Drupal core 9.5.6 version. Unable to replicate the issue. Seems invalid.

    Shared steps below,

    1. Created View for the Nodes(content)
    2. Added exposed filter for Title and Authored by
    3. Enabled AJAX for the view.
    4. Used Full pager for the Pagination
    5. Accessed view page.
    6. Filter the by Author and accessed the Next page
    7. Accessed newxt page

  • Status changed to Postponed: needs info over 1 year ago
  • 🇳🇱Netherlands Lendude Amsterdam

    Yeah the steps in the IS seem to be missing something that would cause this to break, just having an ajax pager and an exposed filter doesn't trigger this

  • 🇯🇴Jordan yahyaalhamad Palestine

    I can confirm, this issue is happening to me, when disabling the 'search_api' module, the pager works again. It is related to the search_api module.

Production build 0.71.5 2024