models: Fixed earliestDate being exclusive of the earliest date in chnages.List.
the build was successful

This commit is contained in:
2018-11-01 19:38:01 +01:00
parent ffec008820
commit 947765884e
+1 -1
View File
@@ -31,7 +31,7 @@ func List(filter *Filter) ([]models.Change, error) {
}
if filter.EarliestDate != nil {
query["date"] = bson.M{"$gt": *filter.EarliestDate}
query["date"] = bson.M{"$gte": *filter.EarliestDate}
}
} else {
query["listed"] = true