Skip to content

Commit

Permalink
fix duplicate in annotation export
Browse files Browse the repository at this point in the history
  • Loading branch information
geektortoise committed Nov 12, 2021
1 parent 3d7634d commit 1e4b853
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grails-app/services/be/cytomine/utils/ReportService.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ class ReportService {
}
}

exportResult = exportResult.unique {a -> a.id}

termNameUsed.unique()
userNameUsed.unique()
List fields = ["id", "area", "perimeter", "XCentroid", "YCentroid", "image", "filename", "user", "term", "cropURL", "cropGOTO"]
Expand Down

0 comments on commit 1e4b853

Please sign in to comment.