aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/query/compiler.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/query/compiler.go')
-rw-r--r--pkg/query/compiler.go2
1 files changed, 2 insertions, 0 deletions
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: