removed 'if count > limits[1]-limits[0]:' in dal.py
This commit is contained in:
1 parent
e56e376894
commit
12bb4a8d93
2 files changed
+3
-3
No files matched your search
@@ -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)
|
||||
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