diff --git a/course_discovery/apps/course_metadata/management/commands/populate_product_catalog.py b/course_discovery/apps/course_metadata/management/commands/populate_product_catalog.py index 205e5fbb58..9a3dd79a11 100644 --- a/course_discovery/apps/course_metadata/management/commands/populate_product_catalog.py +++ b/course_discovery/apps/course_metadata/management/commands/populate_product_catalog.py @@ -148,7 +148,7 @@ def get_products(self, product_type, product_source): queryset = queryset.filter(type__slug=CourseType.BOOTCAMP_2U) if product_source: - queryset = queryset.filter(product_source__slug=product_source) + queryset.filter(product_source__slug__in=product_source.split(',')) queryset = queryset.annotate( num_orgs=Count('authoring_organizations')