File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
dataset/src/main/kotlin/com/cosmotech/dataset/service Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1033,13 +1033,14 @@ class DatasetServiceImpl(
1033
1033
datasetRepository
1034
1034
.findDatasetByTags(organizationId, datasetSearch.datasetTags.toSet(), pageable)
1035
1035
.toList()
1036
+ } else {
1037
+ datasetList =
1038
+ findAllPaginated(defaultPageSize) {
1039
+ datasetRepository
1040
+ .findDatasetByTags(organizationId, datasetSearch.datasetTags.toSet(), it)
1041
+ .toList()
1042
+ }
1036
1043
}
1037
- datasetList =
1038
- findAllPaginated(defaultPageSize) {
1039
- datasetRepository
1040
- .findDatasetByTags(organizationId, datasetSearch.datasetTags.toSet(), it)
1041
- .toList()
1042
- }
1043
1044
datasetList.forEach { it.security = updateSecurityVisibility(it).security }
1044
1045
return datasetList
1045
1046
}
You can’t perform that action at this time.
0 commit comments