Also fix displayname typo in ensure_index comment

This commit is contained in:
Tyler Hallada
2018-01-05 16:59:18 -05:00
committed by Tyler Hallada
parent fbb65c22c8
commit 32e5679d7f

View File

@@ -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,
[