Merge pull request #12006 from edx/sstudent/enable-next-pre
Enable next/prev button across sections
This commit is contained in:
@@ -558,9 +558,7 @@ def _index_bulk_op(request, course_key, chapter, section, position):
|
||||
save_child_position(chapter_descriptor, section)
|
||||
section_render_context = {
|
||||
'activate_block_id': request.GET.get('activate_block_id'),
|
||||
'redirect_url_func': (
|
||||
get_redirect_url if settings.FEATURES.get('ENABLE_NEXT_BUTTON_ACROSS_SECTIONS') else None
|
||||
),
|
||||
'redirect_url_func': get_redirect_url,
|
||||
'requested_child': request.GET.get("child"),
|
||||
}
|
||||
context['accordion'] = render_accordion(user, request, course, chapter, section, field_data_cache)
|
||||
|
||||
@@ -162,9 +162,6 @@ FEATURES['ENABLE_COURSEWARE_SEARCH'] = True
|
||||
# Enable dashboard search for tests
|
||||
FEATURES['ENABLE_DASHBOARD_SEARCH'] = True
|
||||
|
||||
# Enable cross-section Next button for tests
|
||||
FEATURES['ENABLE_NEXT_BUTTON_ACROSS_SECTIONS'] = True
|
||||
|
||||
# Use MockSearchEngine as the search engine for test scenario
|
||||
SEARCH_ENGINE = "search.tests.mock_search_engine.MockSearchEngine"
|
||||
# Path at which to store the mock index
|
||||
|
||||
@@ -372,9 +372,6 @@ FEATURES = {
|
||||
# lives in the Extended table, saving the frontend from
|
||||
# making multiple queries.
|
||||
'ENABLE_READING_FROM_MULTIPLE_HISTORY_TABLES': True,
|
||||
|
||||
# Enable Next Button to jump sequences in Sequence Navigation bar.
|
||||
'ENABLE_NEXT_BUTTON_ACROSS_SECTIONS': False,
|
||||
}
|
||||
|
||||
# Ignore static asset files on import which match this pattern
|
||||
|
||||
Reference in New Issue
Block a user