Avoid removing "page" parameter when the request is not POST

Created on 5 January 2024, over 1 year ago
Updated 21 June 2024, about 1 year ago

Problem/Motivation

Since we are using facets our views Ajax paging mechanisms started to fail.

Steps to reproduce

- Install this module
- Try using the pager on any views with AJAX enabled. The result will not change.

Proposed resolution

I will post a patch on my next comment.

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡ͺπŸ‡¨Ecuador betoaveiga Daule, Guayas

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

Comments & Activities

  • Issue created by @betoaveiga
  • πŸ‡ͺπŸ‡¨Ecuador betoaveiga Daule, Guayas

    The patch fixes the issue for views with Ajax paging.

    Based on the comments "This only applies when the method is POST." I hope that the fix does not break any facets' functionality.

  • Status changed to Needs review about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States csmdgl

    New patch for 3.0.0-beta1 for the paging issue.

  • πŸ‡ΊπŸ‡ΈUnited States jim22

    Thank you @csmdgl + @betoaveiga. Patch #3 appears to have solved my AJAX+Pager issues on Views with Facets. My issue was that the ajax pager was ignoring the active facets and just loading all the content.

    Drupal core 10.4.6
    Facets 3.0.0
    patch from #3

Production build 0.71.5 2024