Skip to content

AO3-7557 Fix 500 error due to pagy overflow in admin posts index - #5951

Open
Bilka2 wants to merge 2 commits into
otwcode:masterfrom
Bilka2:AO3-7557-admin-posts-pagy-overflow
Open

AO3-7557 Fix 500 error due to pagy overflow in admin posts index#5951
Bilka2 wants to merge 2 commits into
otwcode:masterfrom
Bilka2:AO3-7557-admin-posts-pagy-overflow

Conversation

@Bilka2

@Bilka2 Bilka2 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Issue

https://otwarchive.atlassian.net/browse/AO3-7557

Purpose

When pagy overflows, it assigns nil to the collection variable. Handle that correctly.

Test pushed first to show that it tests the right thing.

References

PR limit does not apply to volunteers with write access to the repository.

Credit

Bilka

@github-actions github-actions Bot added Scope: Tests Only Only changes automated tests or test configuration Awaiting Review labels Jul 28, 2026
@Bilka2 Bilka2 removed the Scope: Tests Only Only changes automated tests or test configuration label Jul 28, 2026

@marcus8448 marcus8448 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants