kopia lustrzana https://github.com/dgtlmoon/changedetection.io
UI - pagination - use count including tag filter for pagination display
rodzic
5aa713b7ea
commit
40988c55c6
|
@ -422,7 +422,8 @@ def changedetection_app(config=None, datastore_o=None):
|
|||
existing_tags = datastore.get_all_tags()
|
||||
form = forms.quickWatchForm(request.form)
|
||||
page = request.args.get(get_page_parameter(), type=int, default=1)
|
||||
pagination = Pagination(page=page, total=len(datastore.data['watching']), per_page=int(os.getenv('pagination_per_page', 50)), css_framework = "semantic")
|
||||
total_count = len(sorted_watches) if sorted_watches else len(datastore.data['watching'])
|
||||
pagination = Pagination(page=page, total=total_count, per_page=int(os.getenv('pagination_per_page', 50)), css_framework = "semantic")
|
||||
|
||||
output = render_template(
|
||||
"watch-overview.html",
|
||||
|
|
Ładowanie…
Reference in New Issue