Skip to content

Commit

Permalink
setResultOptionsType --> setResultType
Browse files Browse the repository at this point in the history
  • Loading branch information
xispa committed Nov 28, 2024
1 parent 070abef commit eb5df89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/senaite/ast/workflow/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def after_initialize(analysis):
options = zip(range(len(names)), names)
options = map(lambda m: {"ResultValue": m[0], "ResultText": m[1]}, options)
analysis.setResultOptions(options)
analysis.setResultOptionsType("multiselect")
analysis.setResultType("multiselect")
analysis.reindexObject()


Expand Down

0 comments on commit eb5df89

Please sign in to comment.