From 4582265de0c0472755880652dc7b390b342cf3e0 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Mon, 30 Jun 2025 19:23:20 -0400 Subject: Add filepath to searchable categories --- pkg/query/compiler.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/query/compiler.go') diff --git a/pkg/query/compiler.go b/pkg/query/compiler.go index c2f6701..9edfeb5 100644 --- a/pkg/query/compiler.go +++ b/pkg/query/compiler.go @@ -41,6 +41,8 @@ func (s Statements) buildCompile(b *strings.Builder, delim string) ([]any, error } var catStr string switch cat { + case CAT_PATH: + catStr = "path " case CAT_AUTHOR: catStr = "author " case CAT_DATE: -- cgit v1.2.3