Commits

Jakub Wilk committed 6cf5320

sphinx/search/__init__.py: make stopwords array sorted

  • Participants
  • Parent commits 5b8bcfa

Comments (0)

Files changed (1)

sphinx/search/__init__.py

     def context_for_searchtool(self):
         return dict(
             search_language_stemming_code = self.lang.js_stemmer_code,
-            search_language_stop_words = jsdump.dumps(self.lang.stopwords),
+            search_language_stop_words = jsdump.dumps(sorted(self.lang.stopwords)),
         )