phoenix_pagination icon indicating copy to clipboard operation
phoenix_pagination copied to clipboard

Need a PaginationView module

Open davidw opened this issue 3 years ago • 3 comments

I had to add this to get things working:

defmodule MyprojectWeb.PaginationView do
  use MyprojectWeb, :view
  import Phoenix.Pagination.HTML
end

davidw avatar Jun 14 '22 17:06 davidw

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.

andreapavoni avatar Jun 14 '22 18:06 andreapavoni

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

davidw avatar Jun 14 '22 19:06 davidw

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.

andreapavoni avatar Jun 14 '22 19:06 andreapavoni