Website: Update enrichment helper queries when organization is provided. (#34949)
Changes: - Updated the get-enriched helper to only send a single query for organization name (if `organization` is provided).
This commit is contained in:
-1
@@ -208,7 +208,6 @@ module.exports = {
|
||||
dis_max: {// eslint-disable-line camelcase
|
||||
queries: [
|
||||
{ match_phrase: { name: { query: organization } } },// eslint-disable-line camelcase
|
||||
{ match: { name: { query: organization, operator: 'and', fuzziness: 'AUTO' } } }
|
||||
]
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user