Skip to content

Commit

Permalink
Merge pull request #92 from edx/diana/revert=sort
Browse files Browse the repository at this point in the history
Revert "Allow discovery search results to be sorted"
  • Loading branch information
dianakhuang authored Feb 14, 2020
2 parents 4b5837a + 680cc4b commit 0e799bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion search/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def course_discovery_search(search_term=None, size=20, from_=0, field_dictionary
filter_dictionary={"enrollment_end": DateRange(datetime.utcnow(), None)},
exclude_dictionary=exclude_dictionary,
facet_terms=course_discovery_facets(),
sort=getattr(settings, 'SEARCH_DISCOVERY_SORT_FIELDS', ''),
)

return results
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def is_requirement(line):

setup(
name='edx-search',
version='1.3.1',
version='1.3.2',
description='Search and index routines for index access',
author='edX',
author_email='[email protected]',
Expand Down

0 comments on commit 0e799bd

Please sign in to comment.