diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-06-30 19:23:20 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-06-30 19:23:20 -0400 |
| commit | 4582265de0c0472755880652dc7b390b342cf3e0 (patch) | |
| tree | aa9938795065eb0feb8b0515ce560c1ff4b941e1 /pkg/query/compiler.go | |
| parent | d339148c514896bb4a1c49e9320091c0c5a4934b (diff) | |
Add filepath to searchable categories
Diffstat (limited to 'pkg/query/compiler.go')
| -rw-r--r-- | pkg/query/compiler.go | 2 |
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: |
