Browse Source

Region filter links do not repeat start_date

remotes/origin/master
echarp 3 years ago
parent
commit
a0c4ecce11
  1. 3
      app/views/regions/_filter_region.haml

3
app/views/regions/_filter_region.haml

@ -7,8 +7,7 @@
%small
%em.fa.fa-external-link-alt
- else
= link_to start_date: params[:start_date], year: params[:year],
region: params[:region] == filter_region.id.to_s ? '' : filter_region do
= link_to region: params[:region] == filter_region.id.to_s ? '' : filter_region do
- if filter_region.code.present?
= flag_icon filter_region.code.downcase
= t filter_region.code, scope: :countries, default: filter_region.name

Loading…
Cancel
Save