FunkyStudioHQ / phoenix_pagination

Simple pagination for Ecto and Phoenix that uses plain EEx templates.
MIT License
23 stars 13 forks source link

Need a PaginationView module #8

Open davidw opened 2 years ago

davidw commented 2 years ago

I had to add this to get things working:

defmodule MyprojectWeb.PaginationView do
  use MyprojectWeb, :view
  import Phoenix.Pagination.HTML
end
andreapavoni commented 2 years ago

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.

davidw commented 2 years ago

If it's semi-abandoned... what are people using for pagination with Phoenix? Is there something else that's more popular?

andreapavoni commented 2 years ago

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.