From bb36fb70b852d4a74b232929a80853ec05cd8568 Mon Sep 17 00:00:00 2001 From: "Michael G. Khmelnitsky, Ph.D" Date: Thu, 2 Nov 2023 15:34:35 -0700 Subject: [PATCH] Added search:exclude (#284) --- tools/zendesk_federated_search_content_sync.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/zendesk_federated_search_content_sync.py b/tools/zendesk_federated_search_content_sync.py index 258fde9f..5860c871 100755 --- a/tools/zendesk_federated_search_content_sync.py +++ b/tools/zendesk_federated_search_content_sync.py @@ -216,6 +216,9 @@ def parse_markup_document(path, default_type_id, default_source_id, default_key_ if not doc.get('permalink'): return None + if doc.get('redirect_to'): + return None + return ExternalRecord( type_id=default_type_id, source_id=default_source_id,