diff --git a/tailbone/grids/core.py b/tailbone/grids/core.py index 0e2833dc..95465b1e 100644 --- a/tailbone/grids/core.py +++ b/tailbone/grids/core.py @@ -622,6 +622,12 @@ class Grid(object): if self.default_pagesize: return self.default_pagesize + pagesize = self.request.rattail_config.getint('tailbone', + 'grid.default_pagesize', + default=0) + if pagesize: + return pagesize + options = self.get_pagesize_options() return options[0]