Commit ac6749ac by Nimisha Asthagiri

Merge pull request #12006 from edx/sstudent/enable-next-pre

Enable next/prev button across sections
parents 0c604da9 53e6611f
......@@ -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
......
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