UI - "With errors" tag/button should always show the current tag error count

pull/1902/head
dgtlmoon 1 year ago
parent c372942295
commit 71e50569a0

@ -422,10 +422,11 @@ def changedetection_app(config=None, datastore_o=None):
for uuid, watch in datastore.data['watching'].items():
if with_errors and not watch.get('last_error'):
continue
if watch.get('last_error'):
errored_count += 1
if limit_tag and not limit_tag in watch['tags']:
continue
if watch.get('last_error'):
errored_count += 1
if search_q:
if (watch.get('title') and search_q in watch.get('title').lower()) or search_q in watch.get('url', '').lower():

Loading…
Cancel
Save