Closed rosskarchner closed 7 years ago
By default we sort by date:desc, if there's no sort specified in _queries/whatever.json.
If a dataset doesn't have a date field, it breaks.
So are you thinking we do away with the default, and put the responsibility on the query file?
Yeah, I think so. If there's no sort specified, just do whatever Elasticsearch does without a sort parameter.
By default we sort by date:desc, if there's no sort specified in _queries/whatever.json.
If a dataset doesn't have a date field, it breaks.