Due to a scheduled upgrade to version 14.10, GitLab will be unavailabe on Monday 30.05., from 19:00 until 20:00.

Commit 2fd49459 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix update script for record set name

parent 52705fa5
Pipeline #22595 passed with stages
in 5 minutes and 42 seconds
......@@ -23,7 +23,7 @@ class UpdateQueryBuilder {
return UpdateQuery(
"ctx._source['recordSet'][0]['name']['de'] = params.de; ctx._source['recordSet'][0]['name']['fr'] = params.fr; ctx._source['recordSet'][0]['name']['it'] = params.it",
"ctx._source['recordSet']['name']['de'] = params.de; ctx._source['recordSet']['name']['fr'] = params.fr; ctx._source['recordSet']['name']['it'] = params.it",
Pair("de", names.de[0]),
Pair("fr", names.fr[0]),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment