Pagination in "My content" is missing on page load

Created on 30 September 2024, 2 months ago

Problem/Motivation

The pagination in the "My content" is missing when loading the page. After applying filters, it appears.

Steps to reproduce

  1. Assign more than 12 nodes to a user
  2. As that user, visit the "My account" page (/en/user)
  3. Under "My content", the list is initially limited to 12 items without a pager. Since the user owns more than 12 nodes, there should be a pager enabling the user to view the rest of the list.
  4. Change the "Show" filter to 6 and hit the "Filter" button (or apply any other filter that leads to more than 12 results)
  5. Now you see only 6 items, and a pager.

Proposed resolution

Remaining tasks

🐛 Bug report
Status

Active

Version

2.3

Component

Code

Created by

🇩🇪Germany mrshowerman Munich

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

Comments & Activities

  • Issue created by @mrshowerman
  • 🇩🇪Germany hexabinaer Berlin, Germany

    You are right, this "My content" pager behaves not as expected. We need further testing. I know of no special OC tweak, just simple core config options.

    My current user has more than 50 nodes. "My content" initially shows 1 Page 2 Page 3 Next page ›› Last page Last »

    Change exposed pager option to 24: 1 Page 2 Page 3 Page 4 Page 5 Page 6 Next page ›› Last page Last »

    Click on "Last": « First Previous page ‹‹ Page 1 Page 2 Current page 3 Page 4 Page 5 Page 6 … Next page ›› Last page Last »

    I cannot reproduce a pager not showing up initially but I remember we had that phenomenon in an early version.

  • 🇩🇪Germany mrshowerman Munich

    I will check this again after we have updated to 2.3.

  • 🇩🇪Germany hexabinaer Berlin, Germany

    I think setting a pager ID in the "My content" view should fix it.

    Pager ID
    Unless you're experiencing problems with pagers related to this view, you should leave this at 0. If using multiple pagers on one page you may need to set this number to a higher value so as not to conflict within the ?page= array. Large values will add a lot of commas to your URLs, so avoid if possible.

    The other infinite-scroll paged views blocks on the dashboard seem to behave as expected after that change.

  • 🇩🇪Germany hexabinaer Berlin, Germany
    • tobiasb committed bfd6bd48 on 2.3.x
      Issue #3477797 by mrshowerman, hexabinaer: Pagination in "My content" is...
  • 🇩🇪Germany hexabinaer Berlin, Germany
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024