Project

General

Profile

« Previous | Next » 

Revision 7471

use default count = 1000 for CN.listObjects rather than -1 (because now -1 will cause an SQL error)

View differences:

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