railsadminteam / rails_admin

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
MIT License
7.87k stars 2.25k forks source link

Pagination not working on scopes #3639

Closed Etx17 closed 7 months ago

Etx17 commented 1 year ago

Hi, I'm trying to paginate the results of my scopes, but it only applies to the default scope (:all). The other scopes have too much items in it and it renders a TimeOutError because it cannot load them all.

I'm on RoR7, ruby 3.0.4 and using gems:

Here is the code i expected to paginate all the scopes, but that did only for the default one: image

I also tried to replace/add line limited_pagination without success.

mshibuya commented 1 year ago

I can't reproduce. What's in the :with_current_tenant implementation for example?

mshibuya commented 7 months ago

Please ping me on update.