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.
The pager is shown then views has no results.
To reproduce:
- drush si standard -y --account-pass=admin
- drush en -y devel_generate
- drush generate-content 50
- Navigate to the site home page.
- Navigate to the path /node?page=100
Our views don't have 100 pages of result but the pager appear in bottom region of views with ‹ Previous Page 100
. ‹ Previous
link redirect to path /node?page=98
that also don't have results.
Comment | File | Size | Author |
---|---|---|---|
#18 | Screenshot_2021-07-04 Welcome to dev0-web dev0-web.png | 11.51 KB | quietone |
Pager 100 with views no results.png | 111.93 KB | vadim.hirbu |
Comments
Comment #2
vadim.hirbu CreditAttribution: vadim.hirbu at FFW commentedComment #3
vadim.hirbu CreditAttribution: vadim.hirbu at FFW commentedComment #4
dawehnerSounds like a fair bug.
Comment #6
predy CreditAttribution: predy at Penceo commentedComment #7
predy CreditAttribution: predy at Penceo commentedComment #8
predy CreditAttribution: predy at Penceo commentedConfirmed. This issue partly exists for views in drupal 7. However there the pager works properly. Checking.
Comment #9
predy CreditAttribution: predy at Penceo commentedComment #10
dagmarNo patch here. See https://www.drupal.org/node/156119 for status values.
Comment #18
quietone CreditAttribution: quietone as a volunteer commentedI tested this on 9.3.x and was not able to reproduce this error. I followed the steps given in the Issue Summary.
Therefore, closing as cannot reproduce. If you are experiencing this problem reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").
Thanks!