Skip to content

Commit

Permalink
Merge pull request #988 from chamidu-supeshala/btc_not_getting_filtered
Browse files Browse the repository at this point in the history
problem: date filter only one direction #986 reopened
  • Loading branch information
gsovereignty authored Apr 7, 2018
2 parents a9e63ab + 06e5fc3 commit ca285c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/ui/pages/returnedCurrencies/returnedCurrencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Template.returnedCurrencies.onCreated(function bodyOnCreated() {
}

if (fromFilter != "" && toFilter != "") {
query["genesisTimestamp"] = { $gt: fromFilter, $lt: toFilter }
query["genesisTimestamp"] = { $gte: fromFilter, $lte: toFilter }
}
this.filter.set(query)
})
Expand Down

0 comments on commit ca285c0

Please sign in to comment.