File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -351,10 +351,10 @@ def parse_val(key, val)
351351 if val . include? ( "Classification::" ) # Handle tag control default values
352352 if val . include? ( "\u001F " ) # Array of tags
353353 val = val . split ( "\u001F " ) . map do |tag |
354- Classification . find_by ( :id => tag . split ( '::' ) . second ) . description
354+ Classification . find_by ( :id => tag . split ( '::' ) . second ) . id
355355 end
356356 else # Single tag
357- val = Classification . find_by ( :id => val . split ( '::' ) . second ) . description
357+ val = Classification . find_by ( :id => val . split ( '::' ) . second ) . id
358358 end
359359 elsif key . include? ( "Array::" ) # Handle drop down with multi select default values
360360 if val . kind_of? ( String ) && val . include? ( "\u001F " ) # Check if string is an array of values
You can’t perform that action at this time.
0 commit comments