Problem/Motivation

Pagination doesn't work for comments on topic page.

Steps to reproduce

  1. Log in as a regular user and create a topic with 60 comments.
  2. When you press the "next" button of the pager in the comments section then you should see comments from 51st to 60th.

Proposed resolution

Add selector of the content wrapper to AJAX command which replacing content in page main section after switching page through comments pagination.

CommentFileSizeAuthor
#5 ajax_comments.patch920 bytesslowflyer

Comments

chmez created an issue. See original summary.

ohorbatiuk’s picture

Status: Active » Needs work

PR work in progress here.

ohorbatiuk’s picture

Assigned: ohorbatiuk » Unassigned
Issue summary: View changes
Status: Needs work » Needs review
ribel’s picture

Status: Needs review » Reviewed & tested by the community

PR was tested and merged.
Will be included in the release 10.0.8 and higher.

slowflyer’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new920 bytes

Current update only works, when socialblue is the active theme!

Suggestion remove hardcoded string "socialblue" and replace it with active theme name.

  • ribel committed 9923491 on 10.0.x authored by chmez
    Issue #3207259 by chmez: Pagination doesn't work for AJAX comments on...

  • ribel committed 18a957d on 10.1.x authored by chmez
    Issue #3207259 by chmez: Pagination doesn't work for AJAX comments on...

  • chmez authored feb55a1 on 10.2.x
    Issue #3207259 by chmez: Pagination doesn't work for AJAX comments on...
tbsiqueira’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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