Ignore views cache in preview mode
authorThierry Florac <thierry.florac@onf.fr>
Thu, 05 Jul 2018 12:00:56 +0200
changeset 71 a49838c6239e
parent 70 4f8c98a5f7b9
child 72 cdcd0e026b79
Ignore views cache in preview mode
src/pyams_default_theme/shared/view/__init__.py
--- a/src/pyams_default_theme/shared/view/__init__.py	Thu Jul 05 11:10:26 2018 +0200
+++ b/src/pyams_default_theme/shared/view/__init__.py	Thu Jul 05 12:00:56 2018 +0200
@@ -34,4 +34,4 @@
 
     @property
     def items(self):
-        return self.context.get_results(self.context)
+        return self.context.get_results(self.context, ignore_cache=True)