[predicates] fix paginated_rset for components that change page_size_property
The predicate and component had better agree on the page size.
--- a/predicates.py Wed Jan 06 11:47:08 2016 +0100
+++ b/predicates.py Tue Jan 05 10:31:29 2016 +0100
@@ -498,7 +498,7 @@
except ValueError:
page_size = None
if page_size is None:
- page_size = req.property_value('navigation.page-size')
+ page_size = req.property_value(cls.page_size_property)
if len(rset) <= (page_size*self.nbpages):
return 0
return self.nbpages