removed 'if count > limits[1]-limits[0]:' in dal.py
This commit is contained in:
@@ -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
|
||||||
|
|||||||
+2
-2
@@ -8189,8 +8189,8 @@ def index():
|
|||||||
limits = (offset,long(vars.get('limit',None) or 1000)+offset)
|
limits = (offset,long(vars.get('limit',None) or 1000)+offset)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return Row({'status':400,'error':'invalid limits','response':None})
|
return Row({'status':400,'error':'invalid limits','response':None})
|
||||||
if count > limits[1]-limits[0]:
|
#if count > limits[1]-limits[0]:
|
||||||
return Row({'status':400,'error':'too many records','response':None})
|
# return Row({'status':400,'error':'too many records','response':None})
|
||||||
try:
|
try:
|
||||||
response = dbset.select(limitby=limits,orderby=orderby,*fields)
|
response = dbset.select(limitby=limits,orderby=orderby,*fields)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user