From fcbe4b200ca317fc496ffcf0290d871163cf75d6 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 9 Mar 2026 11:23:46 -0700 Subject: [PATCH] Use effective_content for matching --- src/documents/matching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/matching.py b/src/documents/matching.py index fb458b17c..e023adae7 100644 --- a/src/documents/matching.py +++ b/src/documents/matching.py @@ -169,7 +169,7 @@ def match_storage_paths(document: Document, classifier: DocumentClassifier, user def matches(matching_model: MatchingModel, document: Document): search_flags = 0 - document_content = document.content + document_content = document.get_effective_content() or "" # Check that match is not empty if not matching_model.match.strip():