Skip to content

Commit 546b96e

Browse files
committed
Properly remove contributor after match
1 parent f963a2f commit 546b96e

File tree

1 file changed

+1
-1
lines changed
  • whelktool/scripts/cleanups/2021/09/lxl-3376-contribution-from-respStatement

1 file changed

+1
-1
lines changed

whelktool/scripts/cleanups/2021/09/lxl-3376-contribution-from-respStatement/script.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ selectByIds(fiction) { data ->
5858

5959
if (matchedOnName) {
6060
// Contributor found locally, no need to search further later
61-
contributorsInRespStmt.remove(matchedOnName)
61+
contributorsInRespStmt.remove(matchedOnName.key)
6262

6363
List cRoles = asList(c.role)
6464
List rRoles = matchedOnName.value

0 commit comments

Comments
 (0)