Problem/Motivation

Comment pager is not calculated correctly.

Steps to reproduce

1. Go to unapproved comments section.
2. Click on a comment, for a node which have more comments, like more than 1 page
3. Please make sure comments_order for field is set as DESC as order
4. It will redirect you to second page, instead of first page, as comment is latest.

Proposed resolution

Need to override CommentStorage, and alter getDisplayOrdinal to include comments_order setting.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

manojbisht_drupal created an issue. See original summary.

manojbisht_drupal’s picture

Status: Active » Needs review
StatusFileSize
new623 bytes

Below patch fixes this issue.

manojbisht_drupal’s picture

Updated the patch.

lobodakyrylo’s picture

Status: Needs review » Fixed
lobodakyrylo’s picture

Status: Fixed » Closed (fixed)