From 5df5d0fbe7da785808461643c0ef301be5e293bc Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 10 May 2024 18:20:49 +0200 Subject: [PATCH] UI - Search should scan/search error messages (#2353) --- 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)