[database] Fix, Removes the limit for the page size (#7987)

Old FAB API had no limits by default, this will keep this behaviour
but only for this endpoint
This commit is contained in:
Daniel Vaz Gaspar
2019-08-06 06:52:43 +01:00
committed by Maxime Beauchemin
parent 0c817e5fa9
commit 8db419fe99
2 changed files with 4 additions and 1 deletions

View File

@@ -50,6 +50,8 @@ class DatabaseRestApi(DatabaseMixin, ModelRestApi):
"allows_subquery",
"backend",
]
# Removes the local limit for the page size
max_page_size = -1
appbuilder.add_api(DatabaseRestApi)