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)