Skip to content
Snippets Groups Projects
Commit 2982dfe3 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix(structure): remove unecessary sort for search

parent c4811fb2
No related branches found
No related tags found
3 merge requests!27Recette,!26Dev,!18Feat/address search
......@@ -155,14 +155,6 @@ export class StructuresService {
],
},
},
sort: [
{
'data-fr.properties.commune_str.sort': {
order: 'asc',
unmapped_type: 'string',
},
},
],
};
return new Promise((resolve, reject) => {
this.httpService
......@@ -178,6 +170,7 @@ export class StructuresService {
},
(err) => {
Logger.error(`Request error: ${err.config.url}`, 'StructureService - search');
Logger.error(err);
}
);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment