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.
Problem/Motivation
Pager doubled on multiple node loads.
Proposed resolution
Clear $this->page array every time the node gets parsed.
Remaining tasks
Community Review
Comment | File | Size | Author |
---|---|---|---|
#2 | pagination-double-page-count-2114589-2.patch | 2.61 KB | juanjo_vlc |
#1 | pagination.code_.2114589-1.patch | 661 bytes | rmontero |
Comments
Comment #1
rmontero CreditAttribution: rmontero commentedIssue #2114589 by rmontero: Fixed Double page count.
Comment #2
juanjo_vlc CreditAttribution: juanjo_vlc commentedI've have a related problem, which is collision between nodes when several are displayed on same page request (using ctools) due the singleton approach this module has.
I've tried to solve it converting the instance property to an array based on node id (nid), so, I kept the singleton approach but solved collision between nodes.