From 32e5679d7f863b9bb0debce5f5fffdabc6bc335f Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 5 Jan 2018 16:59:18 -0500 Subject: [PATCH] Also fix displayname typo in ensure_index comment --- common/lib/xmodule/xmodule/contentstore/mongo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/contentstore/mongo.py b/common/lib/xmodule/xmodule/contentstore/mongo.py index bf3fa0645f..2bd1123ea2 100644 --- a/common/lib/xmodule/xmodule/contentstore/mongo.py +++ b/common/lib/xmodule/xmodule/contentstore/mongo.py @@ -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, [