From 53bb7b07da270c160f621d26d01c9e379803ab6a Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Thu, 23 Nov 2017 17:38:10 +0100 Subject: [PATCH] [Fix #775] If champ type is a multiple drop down list then display it properly --- app/models/champ.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/champ.rb b/app/models/champ.rb index 872a6a996..9f8b8d75f 100644 --- a/app/models/champ.rb +++ b/app/models/champ.rb @@ -64,6 +64,8 @@ class Champ < ActiveRecord::Base case type_champ when 'date' Date.parse(value).strftime('%d/%m/%Y') + when 'multiple_drop_down_list' + drop_down_list.selected_options_without_decorator(self).join(', ') else value.to_s end