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

Commit

Permalink
Merge pull request #248 from dgraph-io/marcelo/fix-charting-app
Browse files Browse the repository at this point in the history
Chore(fix): Correction in query date filter
  • Loading branch information
MaxxReis authored Jul 26, 2023
2 parents 244eabf + d8e95c7 commit 70105d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charting/src/pages/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ query QueryMetrics($timestampGE: DateTime!, $timestampLT: DateTime!){
name
readings @cascade {
value
collection(filter: {timestamp: {ge: $timestampGE lt: $timestampLT}}) {
collection(filter: {timestamp: {ge: $timestampGE}, and: {timestamp: {lt: $timestampLT}}}) {
timestamp
}
}
Expand Down

0 comments on commit 70105d7

Please sign in to comment.