[plot views] don't paginate stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 16 May 2011 21:41:50 +0200
branchstable
changeset 7390 be2fffc9ec17
parent 7389 c2b29631c1a3
child 7391 28ebf0b8d642
child 7393 7824d61f41a2
[plot views] don't paginate
web/views/plots.py
--- a/web/views/plots.py	Mon May 16 16:25:33 2011 +0200
+++ b/web/views/plots.py	Mon May 16 21:41:50 2011 +0200
@@ -134,6 +134,7 @@
     title = _('generic plot')
     __select__ = multi_columns_rset() & all_columns_are_numbers()
     timemode = False
+    paginable = False
 
     def call(self, width=500, height=400):
         # prepare data
@@ -181,6 +182,7 @@
     class PieChartView(baseviews.AnyRsetView):
         __regid__ = 'piechart'
         pieclass = Pie
+        paginable = False
 
         __select__ = multi_columns_rset() & second_column_is_number()