From c189c47306682bff9188156b022316472f8609ae Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Wed, 29 Mar 2023 07:38:36 +0200 Subject: [PATCH] ModUI: Allow LIKE matching for address filtering --- mod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.py b/mod.py index 559fee8..4dc7107 100755 --- a/mod.py +++ b/mod.py @@ -73,7 +73,7 @@ class NullptrMod(Screen): case 1: try: ftable.query = ftable.base_query.filter(File.id == su.debase(message.value)) except ValueError: pass - case 2: ftable.query = ftable.base_query.filter(File.addr == message.value) + case 2: ftable.query = ftable.base_query.filter(File.addr.like(message.value)) case 3: ftable.query = ftable.base_query.filter(File.mime.like(message.value)) case 4: ftable.query = ftable.base_query.filter(File.ext.like(message.value)) case 5: ftable.query = ftable.base_query.filter(File.ua.like(message.value))