Allow users to set max number of entities to prevent pagination

Created on 30 April 2020, almost 5 years ago
Updated 28 October 2024, 5 months ago

We have 75 entities tagged to a term. Ordering them with drag and drop while the results are paginated is cumbersome.

I've created a patch that allows users to set the max number of entities to list.

I was debating if I should just patch the module to show all by default. EntityListBuilder sets the $limit to 50 by default. If you set it to "false" it will show all. Which seems appropriate for an ordering module such as this one. However, if there were a thousand entities tagged to a term, loading them all would probably not be ideal (WSOD potential).

So that's my current reasoning. Open to discussion.

Patch #3 sets a default of 50 if nothing has been set in the admin.

✨ Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States xpersonas

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024