Problem/Motivation
On a clients' site I want to create a view all link in a view along with the pagination.
By default, there is a checkbox to do this in the pagination settings form. However,
after setting this up, the link does not render on the view as you think it would.
I am on the latest version of drupal 8. I also spun up a separate drupal 8 site running 8.9.11 to test this as well and
the link still did not render on the view as it should.
I don't see anything in the mini pager templates where that may be expected to render.
I tested this with both a mini pager and a full pager.
My theme is a subtheme of classy and I also tried it on Bartik.
I tried this both with and without AJAX enabled in the view.
I tried it as a page view and a block view.
I am on Google Chrome on a macbook pro.
Steps to reproduce
Create a view with a mini pager. Click the option to display a view all link and save.
You can see in the preview and the actual view that it is not there.
Proposed resolution
Allow the view all link functionality to be rendered on the front-end.
Add to the documentation if it does work but has to be enabled a certain way.
| Comment | File | Size | Author |
|---|---|---|---|
| Screen Shot 2021-02-04 at 4.48.58 PM.png | 5.03 KB | redbrickone | |
| Screen Shot 2021-02-04 at 4.49.33 PM.png | 27.77 KB | redbrickone |
Comments
Comment #2
shailja179 commentedComment #3
shailja179 commentedHi redbrickone,
It will display 'View all' if you enables Allow user to control the number of items displayed in this view as well. Then View All will be in dropdown with other options of number of items .
Comment #4
immoreel commentedThis used to work in Drupal 7 though...
Comment #9
smustgrave commentedThere was no patch to review
But can confirm this is an issue on D10
The all option does not appear when checked
When "Allow user to select number" is checked then the "All" option appears
But when used it throws an error