From 9ffa4eda3dc1666643410b84821fb4e8fa65f6da Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 10 May 2024 17:59:29 +0200 Subject: [PATCH] UI - Search should scan/search error messages --- changedetectionio/flask_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changedetectionio/flask_app.py b/changedetectionio/flask_app.py index 9bd48fa6..ee132424 100644 --- a/changedetectionio/flask_app.py +++ b/changedetectionio/flask_app.py @@ -450,6 +450,8 @@ def changedetection_app(config=None, datastore_o=None): if search_q: if (watch.get('title') and search_q in watch.get('title').lower()) or search_q in watch.get('url', '').lower(): sorted_watches.append(watch) + elif watch.get('last_error') and search_q in watch.get('last_error').lower(): + sorted_watches.append(watch) else: sorted_watches.append(watch)