-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
- Open Script tool
- Write the following script
var r = []; for (var i in selection) { var formation = selection[i]; if (formation.getDomain() == "ALL") { formation.setMetadata("statut_ok", true); r.push(formation); } else { formation.setMetadata("statut_ok", false); } } session.save();
- Save the query
The query is saved with an empty value
"{"toolRole":"uitool-script","toolParams":{"id":"search-model.default","values":{"script":""}}}