Skip to content

Commit

Permalink
Sort discovery search results by start date
Browse files Browse the repository at this point in the history
  • Loading branch information
kluo committed Mar 9, 2019
1 parent 5d5080c commit 1721ad6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions openedx/stanford/lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
# The following fields are available in the URL: {course_id} {student_id}
PROGRESS_SUCCESS_BUTTON_URL = 'http://<domain>/<path>/{course_id}'
PROGRESS_SUCCESS_BUTTON_TEXT_OVERRIDE = None
SEARCH_DISCOVERY_SORT_FIELDS = '_score:desc,start:desc'
SEARCH_FILTER_GENERATOR = 'openedx.stanford.lms.lib.courseware_search.lms_filter_generator.TileSearchFilterGenerator'
SHIB_REDIRECT_DOMAIN_WHITELIST = {
# Mapping of hosts to a list of safe redirect domains from that host
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ edx-oauth2-provider==1.2.0
edx-opaque-keys==0.4.0
edx-organizations==0.4.4
edx-rest-api-client==1.7.1
git+https://github.com/Stanford-Online/edx-search.git@e2aba4a30cf2dc6aa901799596161a59fa3e3baa#egg=edx-search==1.2.1
git+https://github.com/Stanford-Online/edx-search.git@8ad2adc3dcbb2f82573487539c84c3c425da63dc#egg=edx-search==1.3.0
facebook-sdk==0.4.0
feedparser==5.1.3
firebase-token-generator==1.3.2
Expand Down

0 comments on commit 1721ad6

Please sign in to comment.