Skip to content

Commit 9e6926a

Browse files
Fix request page tag value
1 parent 7fcec09 commit 9e6926a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/views/miq_request/_request_dialog_details.html.haml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@
3535

3636
- when 'DialogFieldTagControl'
3737
- value = wf.value(field.name) || ''
38-
- classifications = Classification.where(:id => value).pluck(:description)
38+
- classifications = []
39+
- value.each do |tag|
40+
- classification = Classification.find_by(:id => tag.split('::').second)
41+
- classifications.push(classification.description) if classification
3942
- if classifications.empty?
4043
= h('')
4144
-else

0 commit comments

Comments
 (0)