Skip to content

Commit 21abbcc

Browse files
committed
fix per review!
1 parent 98e61fd commit 21abbcc

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
@@ -381,7 +381,7 @@ public IndexResponse indexPermissionsOnSelfAndChildren(DvObject definitionPoint)
381381
List<DatasetVersion> versionsToIndex = new ArrayList<>();
382382
for (DatasetVersion version : datasetVersionsToBuildCardsFor(dataset)) {
383383
int fileCount = dataFileService.findCountByDatasetVersionId(version.getId()).intValue();
384-
if (fileCount >= fileQueryMin) {
384+
if (fileCount <= fileQueryMin) {
385385
// IMPORTANT: This triggers the loading of fileMetadatas within the current transaction
386386
version.getFileMetadatas().size();
387387
}

0 commit comments

Comments
 (0)