From 329ea5148793bf06bfa67cdc462219feb5f47984 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 21 Jan 2026 20:25:11 -0500 Subject: [PATCH] Added a sort of alias for the enabled options. Really disabled should be the alias for "not_enabled". "not_enabled" is what is used on the frontend and has been. --- app/lib_sql_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib_sql_search.py b/app/lib_sql_search.py index 8855f43..06e585b 100644 --- a/app/lib_sql_search.py +++ b/app/lib_sql_search.py @@ -80,7 +80,7 @@ def sql_enable_part(table_name: str, enabled: str) -> tuple[str, bool|None]: """Handles enabled/disabled status filtering with schema check.""" from app import lib_sql_core if not table_name: return '', None - if enabled in ['enabled', 'disabled', 'all']: + if enabled in ['enabled', 'disabled', 'not_enabled', 'all']: if enabled == 'all': return '', None try: with lib_sql_core.engine.connect() as conn: