Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit 70105d7

Browse files
authored
Merge pull request #248 from dgraph-io/marcelo/fix-charting-app
Chore(fix): Correction in query date filter
2 parents 244eabf + d8e95c7 commit 70105d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charting/src/pages/home.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ query QueryMetrics($timestampGE: DateTime!, $timestampLT: DateTime!){
1313
name
1414
readings @cascade {
1515
value
16-
collection(filter: {timestamp: {ge: $timestampGE lt: $timestampLT}}) {
16+
collection(filter: {timestamp: {ge: $timestampGE}, and: {timestamp: {lt: $timestampLT}}}) {
1717
timestamp
1818
}
1919
}

0 commit comments

Comments
 (0)