Closed fivitti closed 4 years ago
I've tested in on Ubuntu 19.10 with python 3.7.5. Seems to be working fine. Unit-tests pass. Contrary to branch name, there's no searching or filtering. But I assumed it's not part of the PR.
Here's a tip: you can easily "rename" branches.
git checkout search-pagginate-filter
git checkout -b paginate
git push -u origin paginate
git branch -D search-pagginate-filter
git push origin :search-pagginate-filter
I fixed your notes, but I added solution for handle multiple pagination on the same page. Please review changes from this commit.
This MR adds pagination solution to our server. It provide easy to use (I hope), but flexible solution to add pagination. You have a different ways to use pagination tools which differ in the amount of work to be done. See docstrings. I apply it to
obslist
andstations
template.This pagination is page-based. It means that user may select which "page" want to see. If page is only one then pagination controls aren't display.
The summary with items count is now generated automatically.
Version from your previous commit s now displayed on all pages without the need for manually include footer.
Related to #21