annkissam/rummage_ecto

Configuration options - Pagination

bogdan-inkwelldata opened this issue · 0 comments

Adding the Repo in the app and the desired per_page to the rummage_ecto configuration in config.exs does not work properly.
It is always necessary to provide opts parameters in the rummage/3 function during pagination since the default one (or specified one) is not recognized.

The error we have when the opts are not specified: ** (RuntimeError) Expected key repo in opts, got []