Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Nov 25, 2024
2 parents 39d1cab + 3e0cb7c commit ab43fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/api/commons/queries/legal-categories.elastic.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default [
pluralNameFr: { $ifNull: ['$pluralNameFr', null] },
shortNameEn: { $ifNull: ['$shortNameEn', null] },
shortNameFr: { $ifNull: ['$shortNameFr', null] },
inseeCode: { $ifNull: ['$inseeCode', null] },
},
},
];
2 changes: 1 addition & 1 deletion src/api/search/search.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const searchedFields = [
'nameFr',
'names',
'names.acronymFr',
'names.id',
'names.nameEn',
'names.officialName',
'names.otherNames',
Expand All @@ -48,6 +47,7 @@ const searchedFields = [
'otherNames',
'otherNamesEn',
'otherNamesFr',
'inseeCode',
'shortName',
];

Expand Down

0 comments on commit ab43fcc

Please sign in to comment.