}
configurator.setPropertyPaths(occurrencePropertyPaths);
- if(showCountWarning && checkLargeResult(CdmStore.getService(IOccurrenceService.class).countOccurrences(configurator))){
- records = CdmStore.getService(IOccurrenceService.class).findByTitle(configurator).getRecords();
- }
- else{
+ if(showCountWarning && checkLargeResult(CdmStore.getService(IOccurrenceService.class).countOccurrences(configurator)) || !showCountWarning){
records = CdmStore.getService(IOccurrenceService.class).findByTitle(configurator).getRecords();
}
+// else{
+// records = CdmStore.getService(IOccurrenceService.class).findByTitle(configurator).getRecords();
+// }
return records;
}