Skip to content

Commit 26b523f

Browse files
committed
fix per review!
1 parent 91685bb commit 26b523f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/edu/harvard/iq/dataverse/search/SolrIndexServiceBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ public IndexResponse indexPermissionsOnSelfAndChildren(DvObject definitionPoint)
382382
List<DatasetVersion> versionsToIndex = new ArrayList<>();
383383
for (DatasetVersion version : datasetVersionsToBuildCardsFor(dataset)) {
384384
int fileCount = dataFileService.findCountByDatasetVersionId(version.getId()).intValue();
385-
if (fileCount >= fileQueryMin) {
385+
if (fileCount <= fileQueryMin) {
386386
// IMPORTANT: This triggers the loading of fileMetadatas within the current transaction
387387
version.getFileMetadatas().size();
388388
}

0 commit comments

Comments
 (0)