Skip to content

Commit

Permalink
Added search:exclude (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
mig281 authored Nov 2, 2023
1 parent 3600863 commit bb36fb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/zendesk_federated_search_content_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bb36fb7

Please sign in to comment.