Commit 7d7a1982 by Renzo Lucioni Committed by GitHub

Merge pull request #14391 from edx/renzo/ignore-publication-status

Ignore run publication status when requesting programs from the catalog
parents f87018c5 21cd5c80
...@@ -50,7 +50,6 @@ class TestGetPrograms(mixins.CatalogIntegrationMixin, TestCase): ...@@ -50,7 +50,6 @@ class TestGetPrograms(mixins.CatalogIntegrationMixin, TestCase):
querystring = { querystring = {
'marketable': 1, 'marketable': 1,
'exclude_utm': 1, 'exclude_utm': 1,
'published_course_runs_only': 1,
} }
if type: if type:
querystring['type'] = type querystring['type'] = type
......
...@@ -58,7 +58,6 @@ def get_programs(user=None, uuid=None, type=None): # pylint: disable=redefined- ...@@ -58,7 +58,6 @@ def get_programs(user=None, uuid=None, type=None): # pylint: disable=redefined-
querystring = { querystring = {
'marketable': 1, 'marketable': 1,
'exclude_utm': 1, 'exclude_utm': 1,
'published_course_runs_only': 1,
} }
if type: if type:
querystring['type'] = type querystring['type'] = type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment