Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: implement sane default pagination limit for audit logs#13676

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Emyrk merged 5 commits intomainfromstevenmasley/sane_audit_default_limit
Jun 28, 2024

Conversation

Emyrk
Copy link
Member

Also added a comment to protect the "0" limit going forward.

Comment on lines +20 to +23
// A limit of 0 should be interpreted by the SQL query as "null" or
// "no limit". Do not make this value anything besides 0.
Limit:int(parser.PositiveInt32(queryParams,0,"limit")),
Offset:int(parser.PositiveInt32(queryParams,0,"offset")),
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Added this comment similar to the-1 one before. Should clear it up going forward 👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Doesn't this comment directly contradict what happens inauditlogs.sql?

@EmyrkEmyrk marked this pull request as ready for reviewJune 26, 2024 14:37
@EmyrkEmyrk requested a review fromjohnstcnJune 26, 2024 20:43
@EmyrkEmyrkforce-pushed thestevenmasley/sane_audit_default_limit branch fromb89f062 to28c3872CompareJune 26, 2024 21:13
@EmyrkEmyrk merged commit3cc86cf intomainJun 28, 2024
@EmyrkEmyrk deleted the stevenmasley/sane_audit_default_limit branchJune 28, 2024 12:38
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 28, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

Assignees

@EmyrkEmyrk

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@Emyrk@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp