From 73421c184195af4722ec2ce2e8cf3cd933af480e Mon Sep 17 00:00:00 2001 From: Vikas Agarwal Date: Mon, 18 Jun 2018 16:15:23 +0530 Subject: [PATCH] reverting ref code check in doubt that it is again affecting the normal search --- src/routes/projects/list.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/routes/projects/list.js b/src/routes/projects/list.js index d2ffa319..f1cd2c9a 100755 --- a/src/routes/projects/list.js +++ b/src/routes/projects/list.js @@ -133,23 +133,6 @@ const parseElasticSearchCriteria = (criteria, fields, order) => { }, }, }, - { - nested: { - path: 'details', - query: { - nested: { - path: 'details.utm', - query: { - query_string: { - query: `*${keyword}*`, - analyze_wildcard: true, - fields: ['details.utm.code'], - }, - }, - }, - }, - }, - }, ], }, };