|
@ -31,7 +31,7 @@ func List(filter *Filter) ([]models.Change, error) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if filter.EarliestDate != nil { |
|
|
if filter.EarliestDate != nil { |
|
|
query["date"] = bson.M{"$gt": *filter.EarliestDate} |
|
|
|
|
|
|
|
|
query["date"] = bson.M{"$gte": *filter.EarliestDate} |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
query["listed"] = true |
|
|
query["listed"] = true |
|
|