removed 'if count > limits[1]-limits[0]:' in dal.py
This commit is contained in:
2
VERSION
2
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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user