Merge branch 'ui-search-error-messages' into 2039-restock-use-itemprop

piwheels-rpi-crypto
dgtlmoon 6 months ago
commit 17c87f494d

@ -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)

Loading…
Cancel
Save