Skip to content

Commit b129309

Browse files
authored
Merge pull request #4640 from kgrgreer/fix-query-parser-search-by-string-id
Fix query parser to allow string id
2 parents 0804ea1 + 0a4e562 commit b129309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/foam/parse/QueryParser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ foam.CLASS({
131131
seq(key('NOT '), sym('expr'))
132132
),
133133

134-
id: sym('number'),
134+
id: sym('string'),
135135

136136
has: seq(key('HAS:'), sym('fieldname')),
137137

0 commit comments

Comments
 (0)