Apply the current filters when exporting volunteers

This commit is contained in:
Petko Bordjukov 2016-10-09 15:32:40 +03:00
parent 33c2a1e83e
commit 684b7a0201

View File

@ -55,5 +55,5 @@
div.btn-group.btn-group-sm div.btn-group.btn-group-sm
= action_buttons(current_conference, volunteer, [:show, :edit]) = action_buttons(current_conference, volunteer, [:show, :edit])
.panel-footer.text-right .panel-footer.text-right
= link_to management_conference_volunteers_path(current_conference, format: 'csv'), class: 'btn btn-info' = link_to management_conference_volunteers_path(current_conference, format: 'csv', filters: @filters), class: 'btn btn-info'
= icon :download, t('.export') = icon :download, t('.export')