Skip to content

Commit

Permalink
fix: filter out video content types (#1265)
Browse files Browse the repository at this point in the history
  • Loading branch information
brobro10000 committed Jul 22, 2024
1 parent e6d56d7 commit 0639733
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<SearchData>
Expand Down

0 comments on commit 0639733

Please sign in to comment.