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

Feature Request: Allow Application-wide disabling of pagination total #5405

Open
knightstick opened this Issue May 3, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@knightstick

knightstick commented May 3, 2018

We have ActiveAdmin running with a large database, where, many of the resources should have the pagination_total: false, otherwise our requests will time out.

It would be nice for us to set some application-wide config disallowing the pagination by default, and only allowing where specifically required.

I'm happy to take on this feature with a bit of guidance!

This appears to be the line in question:

@display_total = options.delete(:pagination_total) { true }

It should be possible to check the config in the default block.

@giubueno

This comment has been minimized.

Show comment
Hide comment
@giubueno

giubueno May 9, 2018

Have you checked this PR? #5389

giubueno commented May 9, 2018

Have you checked this PR? #5389

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