We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98e61fd commit 21abbccCopy full SHA for 21abbcc
1 file changed
src/main/java/edu/harvard/iq/dataverse/search/SolrIndexServiceBean.java
@@ -381,7 +381,7 @@ public IndexResponse indexPermissionsOnSelfAndChildren(DvObject definitionPoint)
381
List<DatasetVersion> versionsToIndex = new ArrayList<>();
382
for (DatasetVersion version : datasetVersionsToBuildCardsFor(dataset)) {
383
int fileCount = dataFileService.findCountByDatasetVersionId(version.getId()).intValue();
384
- if (fileCount >= fileQueryMin) {
+ if (fileCount <= fileQueryMin) {
385
// IMPORTANT: This triggers the loading of fileMetadatas within the current transaction
386
version.getFileMetadatas().size();
387
}
0 commit comments