Also fix displayname typo in ensure_index comment
This commit is contained in:
committed by
Tyler Hallada
parent
fbb65c22c8
commit
32e5679d7f
@@ -428,7 +428,7 @@ class MongoContentStore(ContentStore):
|
||||
|
||||
def ensure_indexes(self):
|
||||
# Index needed thru 'category' by `_get_all_content_for_course` and others. That query also takes a sort
|
||||
# which can be `uploadDate`, `display_name`,
|
||||
# which can be `uploadDate`, `displayname`,
|
||||
create_collection_index(
|
||||
self.fs_files,
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user