From e9ff4515f52ea01d0d8f926b224abf1be452ed1f Mon Sep 17 00:00:00 2001 From: Akash Shah Date: Fri, 25 Feb 2022 19:34:33 +0530 Subject: [PATCH] Remove referenceFrom filter key from the query for importedProjects. --- module/userProjects/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/userProjects/helper.js b/module/userProjects/helper.js index 05f461d4..d550ef15 100644 --- a/module/userProjects/helper.js +++ b/module/userProjects/helper.js @@ -1766,7 +1766,7 @@ module.exports = class UserProjectsHelper { let filterQuery = { userId : userId, - referenceFrom : { $exists : true,$eq : CONSTANTS.common.OBSERVATION_REFERENCE_KEY }, + // referenceFrom : { $exists : true,$eq : CONSTANTS.common.OBSERVATION_REFERENCE_KEY }, - Commented as this filter is not useful. - 4.7 Sprint - 25Feb2022 isDeleted: false };