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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | comment-pager-not-working-3170975-2.patch | 3.5 KB | manojbisht_drupal |
| #2 | comment-pager-not-working-3170975-1.patch | 623 bytes | manojbisht_drupal |
Comments
Comment #2
manojbisht_drupal commentedBelow patch fixes this issue.
Comment #3
manojbisht_drupal commentedUpdated the patch.
Comment #5
lobodakyrylo commentedComment #6
lobodakyrylo commented