Ignore run publication status when requesting programs from the catalog

The programs service has no concept of run publication status. The catalog does, and many runs returned by the programs service are marked as unpublished in the catalog. To maintain existing behavior and continue displaying these runs as part of their respective programs, we need to ignore their publication status.

ECOM-6925
This commit is contained in:
Renzo Lucioni
2017-01-25 11:34:12 -05:00
parent e887770bc7
commit 21cd5c8014
2 changed files with 0 additions and 2 deletions

View File

@@ -50,7 +50,6 @@ class TestGetPrograms(mixins.CatalogIntegrationMixin, TestCase):
querystring = {
'marketable': 1,
'exclude_utm': 1,
'published_course_runs_only': 1,
}
if type:
querystring['type'] = type

View File

@@ -58,7 +58,6 @@ def get_programs(user=None, uuid=None, type=None): # pylint: disable=redefined-
querystring = {
'marketable': 1,
'exclude_utm': 1,
'published_course_runs_only': 1,
}
if type:
querystring['type'] = type