Skip to content
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

Not paginating when showing all history #2553

Merged
merged 2 commits into from
Mar 21, 2016
Merged

Not paginating when showing all history #2553

merged 2 commits into from
Mar 21, 2016

Conversation

minyoung
Copy link

@minyoung minyoung commented Feb 5, 2016

When showing all history, we don't use paging (we're showing all history after all). But since Kaminari only adds extension methods when paging is used, so we end up in a situation where the paging methods are missing (which we assume are there). This happens when we're showing all history

Related issue:
#2503

@minyoung
Copy link
Author

minyoung commented Feb 5, 2016

Note, there are no unit tests (yet). I haven't had the time to figure out how to add/run the tests yet

@minyoung
Copy link
Author

minyoung commented Feb 5, 2016

Now with tests (and removing unnecessary 'fix' to app/views/rails_admin/main/index.html.haml)

@minyoung minyoung changed the title Not paginating when showing all objects Not paginating when showing all history Feb 5, 2016
mshibuya added a commit that referenced this pull request Mar 21, 2016
Not paginating when showing all history
@mshibuya mshibuya merged commit d6b665c into railsadminteam:master Mar 21, 2016
@mshibuya
Copy link
Member

Merged in, thanks!

@minyoung minyoung deleted the showing-all-the-things branch May 16, 2017 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants