phoenix_pagination
phoenix_pagination copied to clipboard
Need a PaginationView module
I had to add this to get things working:
defmodule MyprojectWeb.PaginationView do
use MyprojectWeb, :view
import Phoenix.Pagination.HTML
end
Hi David, so much time! How's going?
regarding the fixes, I need to work on it in the near future, this library has been semi-abandoned for some time.
btw, if you want, you can contribute with a PR (even for the #9 ) ;-)
PS: are you using this package from the git master, or from hex.pm ? I suggest you to go with the former, at least is more updated than the latter.
If it's semi-abandoned... what are people using for pagination with Phoenix? Is there something else that's more popular?
IIRC there should be kerosene. I don’t even remember why I went for something from scratch, maybe customization purposes.
You won’t believe it, but it’s been some year that I don’t work on full-stack web apps (phoenix with classic html templates). I did paginations, when needed, with plain ecto queries.
I’d suggest a search on hex.pm if you already didn’t do it.