--- a/src/pyams_portal/portlet.py Fri Nov 16 15:33:18 2018 +0100
+++ b/src/pyams_portal/portlet.py Tue Nov 27 13:36:16 2018 +0100
@@ -180,7 +180,6 @@
return PORTLET_RENDERER_SETTINGS_KEY.format(self.settings.renderer)
target_interface = None
- use_portlets_cache = True
use_authentication = False
weight = 0
@@ -198,6 +197,10 @@
def renderer_settings(self):
return IPortletRendererSettings(self.settings)
+ @property
+ def use_portlets_cache(self):
+ return not bool(self.request.params)
+
def update(self):
super(PortletRenderer, self).update()
for resource in self.resources: