Revision 7471
Added by ben leinfelder about 12 years ago
src/edu/ucsb/nceas/metacat/restservice/CNResourceHandler.java | ||
---|---|---|
1193 | 1193 |
ObjectFormatIdentifier formatId = null; |
1194 | 1194 |
boolean replicaStatus = true; |
1195 | 1195 |
int start = 0; |
1196 |
int count = -1;
|
|
1196 |
int count = 1000;
|
|
1197 | 1197 |
Enumeration<String> paramlist = request.getParameterNames(); |
1198 | 1198 |
while (paramlist.hasMoreElements()) { |
1199 | 1199 |
// parse the params and make the call |
Also available in: Unified diff
use default count = 1000 for CN.listObjects rather than -1 (because now -1 will cause an SQL error)