Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃敠 Feature: When "grouping by", allow to select the number of elements to display #7147

Closed
1 task done
Angeall opened this issue Dec 4, 2023 · 2 comments
Closed
1 task done
Assignees

Comments

@Angeall
Copy link

Angeall commented Dec 4, 2023

Please confirm if feature request does NOT exists already ?

  • I confirm there is no existing issue for this

Describe the usecase for the feature

Hello,

When using the "group by" feature, records are limited to 10 per page.
It would be very cool to be able to select the number of max records per page.

image

Suggested Solution

Something like a selectbox on the bottom of each group, with a preset of values like "10, 25, 50, 100".
It should also work when multiple fields are selected for the 'group by', and either have one per group or one that applies to all groups.

Additional Context

No response

@dstala
Copy link
Member

dstala commented Dec 5, 2023

@Angeall we have two environment variables to control this, but nothing on the UI yet (we decided against it to reduce configuration burden on the end user)

DB_QUERY_LIMIT_GROUP_BY_GROUP : Group per page limit. Defaults to 10
DB_QUERY_LIMIT_GROUP_BY_RECORD : Record per group limit. Defaults to 10

https://docs.nocodb.com/getting-started/self-hosted/environment-variables

@dstala dstala assigned mertmit and unassigned o1lab Dec 5, 2023
@Angeall
Copy link
Author

Angeall commented Dec 5, 2023

Ok thank you very much.
Indeed in my usecase, this solves the issue I had, and this matches my need.

If you say it's a decision to not have it on the front end, group by group, then please close this feature request :)

@dstala dstala closed this as completed Dec 6, 2023
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

4 participants