Skip to content

itemsPerPage/maxItemsPerPage: Support Collections and split #597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
m-mohr opened this issue May 8, 2025 · 0 comments
Open

itemsPerPage/maxItemsPerPage: Support Collections and split #597

m-mohr opened this issue May 8, 2025 · 0 comments
Assignees
Milestone

Comments

@m-mohr
Copy link
Collaborator

m-mohr commented May 8, 2025

Currently itemsPerPage applies to search (collections + items), items, but not collections.
maxItemsPerPage applies only to search.

This is not consistent and fine-granular enough.

I'd propose to split into the following options:

  • searchResultsPerPage - for search within collections + items (default: 12 as before)
  • itemsPerPage - for items (default: null, use server default)
  • collectionsPerPage - for collections (default: null, use server default)

Rename maxItemsPerPage to maxSearchResultsPerPage.

@m-mohr m-mohr self-assigned this May 8, 2025
@m-mohr m-mohr added this to the 3.4.0 milestone May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant