From 12bb4a8d936744bc0a155711e320fc0ce2943b33 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Fri, 3 Jan 2014 21:31:06 -0600 Subject: [PATCH] removed 'if count > limits[1]-limits[0]:' in dal.py --- VERSION | 2 +- gluon/dal.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 627d6694..1d68e3e2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2014.01.03.20.58.03 +Version 2.8.2-stable+timestamp.2014.01.03.21.30.13 diff --git a/gluon/dal.py b/gluon/dal.py index 3d7b33d2..8e56b0c2 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -8189,8 +8189,8 @@ def index(): limits = (offset,long(vars.get('limit',None) or 1000)+offset) except ValueError: return Row({'status':400,'error':'invalid limits','response':None}) - if count > limits[1]-limits[0]: - return Row({'status':400,'error':'too many records','response':None}) + #if count > limits[1]-limits[0]: + # return Row({'status':400,'error':'too many records','response':None}) try: response = dbset.select(limitby=limits,orderby=orderby,*fields) except ValueError: