Skip to content

Not paginating when showing all history#2553

Merged
mshibuya merged 2 commits into
railsadminteam:masterfrom
minyoung:showing-all-the-things
Mar 21, 2016
Merged

Not paginating when showing all history#2553
mshibuya merged 2 commits into
railsadminteam:masterfrom
minyoung:showing-all-the-things

Conversation

@minyoung

@minyoung minyoung commented Feb 5, 2016

Copy link
Copy Markdown

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

minyoung commented Feb 5, 2016

Copy link
Copy Markdown
Author

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

@minyoung

minyoung commented Feb 5, 2016

Copy link
Copy Markdown
Author

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
Copy Markdown
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