-
-
Notifications
You must be signed in to change notification settings - Fork 293
Closed
Copy link
Labels
BugSomething isn't workingSomething isn't working
Description
Describe the bug
Getting Pagy::OverflowError in Avo::AssociationsController#index expected :page in 1..2; got 3 when using go back on has many record when changing record per page filter
Reproduction repository for the bug
https://github.com/johnvtroy/pagy_bug
Steps to use in the reproduction repository
Steps to reproduce the behavior:
set config.via_per_page = 16 in avo.rb
- click on Posts
- click on My First Post
- change record per page on the Comments to 8
- click on page 3 of the comments
- open Comment
- click Go Back
Expected behavior & Actual behavior
Not sure what should happen
System configuration
Avo version: 3.15.0
Rails version: 7.2.2
Ruby version: 3.3.1
License type:
- Community
- Pro
- [x ] Advanced
Are you using Avo monkey patches, overriding views or view components?
- Yes. If so, please post code samples.
- [ x] No
Screenshots or screen recordings
Additional context
Impact
- [ x] High impact (It makes my app un-usable.)
- Medium impact (I'm annoyed, but I'll live.)
- Low impact (It's really a tiny thing that I could live with.)
Urgency
- High urgency (I can't continue development without it.)
- [x ] Medium urgency (I found a workaround, but I'd love to have it fixed.)
- Low urgency (It can wait. I just wanted you to know about it.)
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working
Type
Projects
Status
Done