edisonywh / backoffice

Admin tool built with the PETAL stack
MIT License
217 stars 15 forks source link

Remove Scrivener dependency #20

Closed edisonywh closed 3 years ago

edisonywh commented 3 years ago

Currently Backoffice assumes your Repo has a .paginate function, which is usually done by use Scrivener in your Repo module.

It doesn't really make sense to ask users to include Scrivener just for Backoffice (and what if they have a separate pagination set-up already?), so in this commit we remove the assumption and manually offset our results.