src/pyams_content_es/component/theme.py
changeset 115 6387a1195db4
parent 109 b9885a695f88
child 137 fc81a5fb2225
--- a/src/pyams_content_es/component/theme.py	Fri Nov 30 14:46:38 2018 +0100
+++ b/src/pyams_content_es/component/theme.py	Fri Dec 14 11:12:42 2018 +0100
@@ -47,7 +47,7 @@
 
     weight = 60
 
-    def get_es_params(self, context):
+    def get_es_params(self, context, request=None):
         settings = IViewTagsSettings(self.context)
         tags = settings.get_tags_index(context)
         if tags:
@@ -109,7 +109,7 @@
 
     weight = 62
 
-    def get_es_params(self, context):
+    def get_es_params(self, context, request=None):
         settings = IViewThemesSettings(self.context)
         themes = settings.get_themes_index(context)
         if themes:
@@ -136,7 +136,7 @@
 
     weight = 64
 
-    def get_es_params(self, context):
+    def get_es_params(self, context, request=None):
         settings = IViewCollectionsSettings(self.context)
         collections = settings.get_collections_index(context)
         if collections: