diff --git a/xmodule/course_block.py b/xmodule/course_block.py index 102b428647fe..bb08e252b0f7 100644 --- a/xmodule/course_block.py +++ b/xmodule/course_block.py @@ -61,12 +61,15 @@ # .. toggle_name: FEATURES['CREATE_COURSE_WITH_DEFAULT_ENROLLMENT_START_DATE'] # .. toggle_implementation: SettingDictToggle # .. toggle_default: False -# .. toggle_description: The default behavior, when this is disabled, is that newly created course has no +# .. toggle_description: The default behavior, when this is disabled, is that a newly created course has no # enrollment_start date set. When the feature is enabled - the newly created courses will have the -# enrollment_start_date set to DEFAULT_START_DATE. +# enrollment_start_date set to DEFAULT_START_DATE. This is intended to be a permanent option. +# This toggle affects the course listing pages (platform's index page, /courses page) when course search is +# performed using the `lms.djangoapp.branding.get_visible_courses` method and the +# COURSE_CATALOG_VISIBILITY_PERMISSION setting is set to 'see_exists'. Switching the toggle to True will prevent +# the newly created (empty) course from appearing in the course listing. # .. toggle_use_cases: open_edx # .. toggle_creation_date: 2023-06-22 -# .. toggle_target_removal_date: This is intended to be a permanent option. CREATE_COURSE_WITH_DEFAULT_ENROLLMENT_START_DATE = SettingDictToggle( "FEATURES", "CREATE_COURSE_WITH_DEFAULT_ENROLLMENT_START_DATE", default=False, module_name=__name__ )