From 1b1b0370cc9243fb4b1d2d4953a66bf765f0fa63 Mon Sep 17 00:00:00 2001 From: Eduardo Rosendo Date: Fri, 27 Oct 2023 11:00:03 -0400 Subject: [PATCH] feat(elastic): Add comments to the helper that creates full join queries --- cl/lib/elasticsearch_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cl/lib/elasticsearch_utils.py b/cl/lib/elasticsearch_utils.py index bad8e9f177..c6c99c9d81 100644 --- a/cl/lib/elasticsearch_utils.py +++ b/cl/lib/elasticsearch_utils.py @@ -1484,6 +1484,8 @@ def build_full_join_es_queries( parent_filters = build_join_es_filters(cd) # If parent filters, extend into child_filters. if parent_filters: + # Removes the party and attorney filter if they were provided because + # those fields are not part of the RECAPDocument mapping. child_filters.extend( [ query