Problem
Due to a bug in views contrib module Duplicate pager using "Global: View area" (https://www.drupal.org/project/views/issues/1132904).
The fix for that mentioned bug is to use different pager ids for each view and it does seems to solve the issue, but it doesn't solve issue in this module because there is no pager id option available.

Proposed solution
Provide a pager id option and configure the module accordingly.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

guptahemant created an issue. See original summary.

guptahemant’s picture

here is a patch to provide the required setting.
please review.

guptahemant’s picture

Status: Active » Needs review
guptahemant’s picture

Use patch provide in this https://www.drupal.org/project/views_infinite_scroll/issues/2736419#comm... to solve the content loading issue as well.

guptahemant’s picture

here is an updated patch which also provides the default value for the pager id.

rcodina’s picture

Status: Needs review » Reviewed & tested by the community
Related issues: +#2845996: Use pager ID to avoid pager conflicts

Thank you @guptahemant! This works like a charm on latest dev version!

julien.reulos’s picture

julien.reulos’s picture

Confirming that the patch applies correctly on the last dev version of the module, exposes a new id input field on the pager settings of the view, and avoids conflict between 2 pagers on the same page.

Also, cross referencing #2845996: Use pager ID to avoid pager conflicts for info.

izmeez’s picture

This patch is related to #2618000: Input required not working with infinite scrolling and if that one is committed this one can be easily re-rolled with it.

Honza Pobořil’s picture

Status: Reviewed & tested by the community » Fixed

  • guptahemant authored 531a564 on 7.x-2.x
    Issue #2945826 by guptahemant: Provide a pager id option in views...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.