]> source.dussan.org Git - redmine.git/commitdiff
Preserve from parameter when selecting new activity filters (#22912).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 28 May 2016 11:31:14 +0000 (11:31 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 28 May 2016 11:31:14 +0000 (11:31 +0000)
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15428 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/activities/index.html.erb

index 58664d1cf9053f6472108701f1bc27cd403ac1d1..c191ccba56a40e99b06320c6e94cd6afd41a5d58 100644 (file)
@@ -61,6 +61,7 @@
     <p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p>
 <% end %>
 <%= hidden_field_tag('user_id', params[:user_id]) unless params[:user_id].blank? %>
+<%= hidden_field_tag('from', params[:from]) unless params[:from].blank? %>
 <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => 'submit' %></p>
 <% end %>
 <% end %>