Pager no more rendered with List of Comments Field in View

Created on 6 May 2020, over 5 years ago
Updated 24 June 2025, about 2 months ago

If the "List of Comments" field is added to the view, the pager is not rendered also the pager exposed options doesn`t work with this field. Ajax comments field works well without the "List of Comments".

No errors are shown in the Drupal log or any other message.

🐛 Bug report
Status

Active

Version

1.3

Component

Views integration

Created by

🇩🇪Germany Bruno2

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.

  • When your Views block using the "List of Comments" field doesn't render the pager or use exposed options, it's because that field embeds Drupal's default comment display, which conflicts with Views' AJAX pager system. The solution is to avoid the "List of Comments" field. Instead, create a separate Views block display that directly lists individual comment fields, yourtexasbenefits uses a contextual filter for the current node's ID, and has AJAX enabled for its own pager. This allows Views and the ajax_comments module to properly manage and refresh the comment list and its pagination.

Production build 0.71.5 2024