Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: implement default pagination limit #13673

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

Closed
wants to merge 4 commits into from
Closed

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Jun 26, 2024

Specifying no limit should return a default of >0. I noticed this for audit logs. Tests had to specify a limit >0.

@Emyrk Emyrk requested a review from johnstcn June 26, 2024 14:15
@johnstcn
Copy link
Member

johnstcn commented Jun 26, 2024

Is this causing an issue? Looking through the history of this file, it was explicitly set to -1 to return all results.

@Emyrk
Copy link
Member Author

Emyrk commented Jun 26, 2024

Is this causing an issue? Looking through the history of this file, it was explicitly set to -1 to return all results.

Oh I see. The change was here: #2663

I will update the audit logs query to interpret 0 as all then. 👍 Good catch

@Emyrk Emyrk closed this Jun 26, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 26, 2024
@github-actions github-actions bot deleted the stevenmasley/default_limit branch December 31, 2024 00:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants