Commit 819fcfcf authored by Matthieu Benoist's avatar Matthieu Benoist
Browse files

Swiching from sorting type does not reset the aggregation of results, showing...

Swiching from sorting type does not reset the aggregation of results, showing bad value due to the switch between order by date for an empty research and by pertinence for others.
parent ef9c5b3e
......@@ -526,7 +526,6 @@ export class DatasetResearchService {
}
sortChanged(option: ISortOption) {
this._elasticsearchOptions.shouldAggregateResultCount = false;
this._elasticsearchOptions.sortOptions = option;
this._researchUrlService.setSortParameter(option);
......
Markdown is supported
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