Project

General

Profile

« Previous | Next » 

Revision 9370

use idFilter for v2 getLogRecords() to match v2 API definition.

View differences:

src/edu/ucsb/nceas/metacat/restservice/v2/CNResourceHandler.java
555 555
        }
556 556

  
557 557
        try {
558
            pidFilter = params.get("pidFilter")[0];
558
            pidFilter = params.get("idFilter")[0];
559 559
        } catch (Exception e) {
560 560
            logMetacat.warn("Could not parse pidFilter: " + e.getMessage());
561 561
        }
src/edu/ucsb/nceas/metacat/restservice/v2/MNResourceHandler.java
1168 1168
		}
1169 1169
        
1170 1170
        try {
1171
            pidFilter = params.get("pidFilter")[0];
1171
            pidFilter = params.get("idFilter")[0];
1172 1172
        } catch (Exception e) {
1173 1173
            logMetacat.warn("Could not parse pidFilter: " + e.getMessage());
1174 1174
        }

Also available in: Unified diff