# HG changeset patch # User Ludovic Chabant # Date 1425544021 28800 # Node ID 9b75b49a4084d273079ce9efe16994a69278926d # Parent 078e64dba77ded2a95340ad3b5a7185e69a28183 data: Don't nest filters in the paginator -- nest clauses instead. diff -r 078e64dba77d -r 9b75b49a4084 piecrust/data/paginator.py --- a/piecrust/data/paginator.py Thu Mar 05 00:26:37 2015 -0800 +++ b/piecrust/data/paginator.py Thu Mar 05 00:27:01 2015 -0800 @@ -205,7 +205,7 @@ if isinstance(self._source, IPaginationSource): sf = self._source.getPaginationFilter(self._parent_page) if sf is not None: - f.addClause(sf) + f.addClause(sf.root_clause) return f