From cac516244f773abfa710c50ae295196c6a8e5413 Mon Sep 17 00:00:00 2001 From: Mihoub Debache Date: Wed, 24 Jan 2024 16:45:46 +0100 Subject: [PATCH] fix(geograpical-categories): fix geographical-categories query, add isdeleted --- src/api/commons/queries/geographical-categories.elastic.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/commons/queries/geographical-categories.elastic.js b/src/api/commons/queries/geographical-categories.elastic.js index 8d3496c7..38f17704 100644 --- a/src/api/commons/queries/geographical-categories.elastic.js +++ b/src/api/commons/queries/geographical-categories.elastic.js @@ -51,6 +51,7 @@ export default [ level: { $ifNull: ['$level', null] }, nameEn: { $ifNull: ['$nameEn', null] }, nameFr: 1, + isDeleted: { $ifNull: ['$isDeleted', false] }, originalId: { $ifNull: ['$originalId', null] }, parent: { $ifNull: ['$parent', null] }, priority: { $ifNull: ['$priority', null] },