- š«š®Finland anaconda777
Added patch #42 to Drupal 9.5.5 and the pagers are visible! Without patch, no pager was visible on a views page which has attachments also having pagers .
- šŗšøUnited States capysara
#42 Patch applies cleanly to 10.1.x.
Be sure that Render pager is enabled.With manual testing, it looks like the Attachment pager doesn't consistently work independently. It's the same behavior reported in #55 š Allow views attachment display to use its own pager options Needs work , but I'm currently testing a view without ajax.
In a view without ajax, Full pager:
- Page - 2
- Attachment - Last
- Page - First
- Attachment gets reset back to 1
- Page (url is /myview?page=0) - Next
- Attachment - 3
- Page - 1
- Attachment gets reset back to 1
- Page - Last
- Attachment - 2
- Page - Previous
- Attachment gets reset back to 1
- Attachment - Last
- Page - Next
- Attachment gets reset back to 1
- Attachment - 2
- Page - 2
- Attachment gets reset back to 1
I have not applied a patch from 2858890 š Drupal.views.ajaxView is not initializing pagers in nested views Needs work , but I'll try that next and update this comment.
- š¦šŗAustralia darvanen Sydney, Australia
This problem might be a bit wider-reaching than the scope of this module. I couldn't get a single pager to display anywhere on the page when giving a page and its attachment a pager each, whether the attachment inherited or not, with or without "render the pager" selected.
- šŗšøUnited States dmudie
Any chance of getting something like this in views so we don't have to hack core?
- š¦šŗAustralia darvanen Sydney, Australia
@dmudie yes there is! It takes effort from interested parties because this is free open-source software.
Currently the outstanding tasks are listed as tags on the issue:
Needs tests, Needs issue summary update, Needs steps to reproduce
It will also need to pass the core gates ā to be committed.
- šŗšøUnited States nicxvan
Tests no longer run against patches.
Please convert this to an mr.
- First commit to issue fork.
- Merge request !10127Issue #2833734 by TŠ°o, Daniel Kulbe, Mirroar, pvsureshmca, rensingh99: Allow... ā (Open) created by zaryab_drupal
- First commit to issue fork.
- š¬š§United Kingdom oily Greater London
PHPSTAN errors are fixed.
That leaves test coverage, issue summary update and steps to reproduce (in Drupal 11.x).