From 3669220b97c9b3ea3489c5cbdc61b50df6969703 Mon Sep 17 00:00:00 2001 From: Jann Stute Date: Thu, 28 Nov 2024 12:14:54 +0100 Subject: [PATCH] fix: remove uncecessary line that broke search when searching for exact name --- tagstudio/src/core/library/alchemy/visitors.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tagstudio/src/core/library/alchemy/visitors.py b/tagstudio/src/core/library/alchemy/visitors.py index 92921d750..b7ecf4c8b 100644 --- a/tagstudio/src/core/library/alchemy/visitors.py +++ b/tagstudio/src/core/library/alchemy/visitors.py @@ -24,7 +24,6 @@ def visit_constraint(self, node: Constraint) -> ColumnExpressionArgument: Tag.name.ilike(node.value), Tag.shorthand.ilike(node.value), TagAlias.name.ilike(node.value), - aliased(Tag).name.ilike(node.value), ) elif node.type == ConstraintType.TagID: return Tag.id == int(node.value)