models: Fixed earliestDate being exclusive of the earliest date in chnages.List.
the build was successful
the build was successful
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user