In activity view, add a filter to filter the activity by user

Added by Viral Patel over 4 years ago

In, activities/index.html.erb, page I've added a code to put a filter.

<%=select_tag :user, User.all %>

but that does not list the users in the select box. Can anyone help me developing a code for this so we can add this feature to the Redmine. Where we can see activites which filterd by user.