From 0639733b83b2a8e77b845162b8aca455e64bad18 Mon Sep 17 00:00:00 2001 From: Hamzah Ullah Date: Mon, 22 Jul 2024 18:56:30 -0400 Subject: [PATCH] fix: filter out video content types (#1265) --- .../HighlightStepperSelectContentSearch.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/ContentHighlights/HighlightStepper/HighlightStepperSelectContentSearch.jsx b/src/components/ContentHighlights/HighlightStepper/HighlightStepperSelectContentSearch.jsx index a652f001c6..ddd0aeacfe 100644 --- a/src/components/ContentHighlights/HighlightStepper/HighlightStepperSelectContentSearch.jsx +++ b/src/components/ContentHighlights/HighlightStepper/HighlightStepperSelectContentSearch.jsx @@ -148,9 +148,11 @@ const HighlightStepperSelectContent = ({ enterpriseId }) => { ContentHighlightsContext, v => v[0].searchClient, ); - // TODO: replace testEnterpriseId with enterpriseId before push, - // uncomment out import and replace with testEnterpriseId to test - const searchFilters = `enterprise_customer_uuids:${ENABLE_TESTING(enterpriseId)}`; + // TODO: replace testEnterpriseId with enterpriseId before push, + // uncomment out import and replace with testEnterpriseId to test + // FIXME: Remove 'AND (NOT content_type:video)' when video content metadata updated to + // to identical data-structure as similar algolia search objects, ex. COURSES + const searchFilters = `enterprise_customer_uuids:${ENABLE_TESTING(enterpriseId)} AND (NOT content_type:video)`; return (