Setup of Searching, Sorting and Pagination using Rummage
I wrote a library which provides ways to perform Searching, Sorting and Pagination over Ecto queries and Phoenix collections: Rummage
. Rummage
has been split into two libraries: Rummage.Ecto
and Rummage.Phoenix
.
Rummage
is a Ransack-like library, which is designed in the Elixir way. Which means no defining functions on the models, transparency and configurability!
Rummage
comes with a lot of powerful features which are available right away, without writing a bunch of code. Here are a few blogs that talk about how to use Rummage in a Phoenix or an Ecto application:
-
Rummage
demo & basics -
Using
Rummage.Ecto
-
Using fully packaged
Rummage.Phoenix
(Rummage.Ecto
withHTML
)
Let me know if you have any thoughts on Rummage
!
Thank you!
Here’s a little demo: