Pager missing on pages greater than 1, but returns on a refresh

Created on 17 September 2018, over 6 years ago
Updated 11 July 2023, almost 2 years ago

We have a Search Index View that renders all nodes of a particular content type that match whatever keywords have been entered into the exposed`search_api_fulltext` filter. If nothing has been entered into the exposed filter (i.e., the default when the page is first accessed), then all results are shown.

The View uses a pre-configured view mode to display these nodes, and the exposed filter form is displayed in a separate block.

In addition, the View includes a "full" pager that has been set to display 20 items per page. Caching has been disabled entirely (i.e., "None"), and the View *does not* use AJAX.

What we're seeing is that when there are more than 20 nodes, the pager loads on the first page only. If we click to the next page--or any thereafter--the pager disappears. We can bring it back, however, if we do a simple page refresh... which makes me think it's a caching issue.

I checked the variables available using a template_preprocess_pager() function, and indeed the "items" array is missing when pages greater-than-one are first loaded... only to return if the page is refreshed.

We are also using facets, but even when I try removing the facet blocks entirely the pager is still missing on pages > 1.

I'm at a loss as to where/how the pager is called/rendered, and how to fix it. Any help would be greatly appreciated, and please let me know if there's any more detail that I can provide.

πŸ› Bug report
Status

Postponed: needs info

Version

1.0

Component

Views integration

Created by

πŸ‡ΊπŸ‡ΈUnited States beunerd Providence, Rhode Island

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

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

    Just to add to this. Changing the Pager ID to 33 fixed it for us! I needed to keep going up to find the number that worked! Thank you!

Production build 0.71.5 2024