Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If I have a panel with 2 views and one of them is using infinite scroll and the other is paged, then the pager for the paged view disappears.
If I modify views_infinite_scroll.js I can aplly the specific view selectors to the pager as well which solves this problem.
var pager_selector = 'div.view-id-' + settings.view_name + '.view-display-id-' + settings.display + ' div.item-list ' + settings.pager_selector;
$(pager_selector).hide();
Comments
Comment #1
Remon CreditAttribution: Remon commentedThank you Joshua :). Your patch has been commited