diff options
| author | cedricnjanga | 2018-03-22 05:44:34 -0700 | 
|---|---|---|
| committer | cedricnjanga | 2018-03-22 05:44:34 -0700 | 
| commit | 9a35d176c66ab865c9962e0b23ae3a36b0c4cdc7 (patch) | |
| tree | ca876b9603e6ec2215911eb68cd92593e325db8b /app/views | |
| parent | 9ae51de7d821aa2d0277fdab3aaeb5f32642a0ca (diff) | |
| download | chouette-core-9a35d176c66ab865c9962e0b23ae3a36b0c4cdc7.tar.bz2 | |
Refs #6292 Fix Compliance Control set organisation filter by adding value_method in input6292-compliance-control-sets-organisation-filter
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/compliance_control_sets/_filters.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/compliance_control_sets/_filters.html.slim b/app/views/compliance_control_sets/_filters.html.slim index 5cf282559..5f6d9e27b 100644 --- a/app/views/compliance_control_sets/_filters.html.slim +++ b/app/views/compliance_control_sets/_filters.html.slim @@ -8,7 +8,7 @@    .ffg-row      .form-group.togglable class=filter_item_class(params[:q], :organisation_name_eq_any)        = f.label t('activerecord.models.organisation.one'), required: false, class: 'control-label' -      = f.input :organisation_name_eq_any, collection: organisations_filters_values, as: :check_boxes, label: false, label_method: lambda {|w| ("<span>#{w.name}</span>").html_safe}, required: false, wrapper_html: {class: 'checkbox_list'} +      = f.input :organisation_name_eq_any, collection: organisations_filters_values, as: :check_boxes, value_method: :name, label: false, label_method: lambda {|w| ("<span>#{w.name}</span>").html_safe}, required: false, wrapper_html: {class: 'checkbox_list'}      .form-group.togglable class=filter_item_class(params[:q], :updated_at)        = f.label Import::Base.human_attribute_name(:updated_at), required: false, class: 'control-label' | 
