From: Christian Heller Date: Tue, 10 Sep 2024 03:57:01 +0000 (+0200) Subject: In browser.py, fix broken float input filter handling. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7Bprefix%7D%7D/add_structured?a=commitdiff_plain;h=a08fb89918cc0cedb7f265292b06924b4efbbfaf;p=stable_plom In browser.py, fix broken float input filter handling. --- diff --git a/browser.py b/browser.py index 9290f52..59b562d 100755 --- a/browser.py +++ b/browser.py @@ -488,7 +488,7 @@ class MainWindow(Gtk.Window): """Apply user-set filters to gallery.""" def number_filter(attr_name, filter_line, to_compare): - use_float = attr_name in GEN_PARAMS_FLOAT + use_float = attr_name.upper() in GEN_PARAMS_FLOAT constraint_strings = filter_line.split(',') numbers_or = set() unequal = set()