From ea6b23e4785942b324fcf919ec2553b8913c3861 Mon Sep 17 00:00:00 2001 From: Ivan Gabriele Date: Tue, 20 Aug 2024 15:53:15 +0200 Subject: [PATCH] Remove wrong FAO areas sorting from Backend use case --- .../cnsp/monitorfish/domain/use_cases/fao_areas/GetFaoAreas.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/domain/use_cases/fao_areas/GetFaoAreas.kt b/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/domain/use_cases/fao_areas/GetFaoAreas.kt index 558068e8ab..a4f79d4727 100644 --- a/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/domain/use_cases/fao_areas/GetFaoAreas.kt +++ b/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/domain/use_cases/fao_areas/GetFaoAreas.kt @@ -9,7 +9,5 @@ class GetFaoAreas(private val faoAreaRepository: FaoAreaRepository) { val faoAreas = faoAreaRepository.findAllSortedByUsage() return faoAreas.map { it.faoCode } - .distinct() - .sorted() } }