Views Pagination "View All" link does not render

Created on 4 February 2021, almost 4 years ago
Updated 3 February 2023, almost 2 years ago

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.

πŸ› Bug report
Status

Needs work

Version

9.5

Component
ViewsΒ  β†’

Last updated about 22 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States redbrickone

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    There 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

    TypeError: Unsupported operand types: int * string in Drupal\views\Plugin\views\pager\SqlBase->query() (line 279 of core/modules/views/src/Plugin/views/pager/SqlBase.php).
    
Production build 0.71.5 2024