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

Add support for per_page param #55

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

mdlkxzmcp
Copy link

@mdlkxzmcp mdlkxzmcp commented Jun 5, 2019

Having no way to control the per_page outside of the use Kerosene, per_page: 10 is a feature that I just couldn't live without. So here is the basic implementation of that.

This also brings back the PR #24, with a small twist – now to "disable" pagination via params just pass "per_page" => "all" (since that makes more sense than nil) :>

@mdlkxzmcp mdlkxzmcp marked this pull request as ready for review June 11, 2019 11:45
@joshchernoff
Copy link

joshchernoff commented Apr 9, 2020

So I'm getting the impression this lib maybe dead. I've started to try and bring some new life into it here

https://github.com/MorphicPro/dissolver

The two biggest features I've added to this thus far are custom theme modules and lazy queries.

In the case of lazy queries paginate returns an Ecto query rather than calling Repo.all

I've rebuilt a good part of the main lib but I'm still in the process of rewriting the specs for the Paginator since I don't want it to have so much open API.

mdlkxzmcp and others added 7 commits March 1, 2023 02:16
+ bump Plug from 1.4.3 to 1.7.2 since PhoenixHTML requires ~> 1.5
Bump PhoenixHTML from 2.10.4 to 3.3.1
Add a formatter and format the project
The application inference added in that version fixes all the warnings related to dependencies list and applications list :)
Bump Elixir requirement from 1.2 to 1.4
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