Commit ed72e9ef authored by Dimitri DI GUSTO's avatar Dimitri DI GUSTO
Browse files

Set default dataset results sorting to date descending

parent 595dcda3
......@@ -66,7 +66,7 @@ export class ElasticsearchOptions {
// Need to be done in order to avoid object reference copy
this._sortOptions = {
value: 'relevance',
value: 'date',
order: 'desc',
};
if (data && data.sortOptions != null) {
......@@ -149,7 +149,7 @@ export class ElasticsearchOptions {
// Need to be done in order to avoid object reference copy
this._sortOptions = {
value: 'relevance',
value: 'date',
order: 'desc',
};
if (data && data.sortOptions != null) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment