Project

General

Profile

How to get list of tasks/issues of a user?

Added by whoiam whoiam about 13 years ago

I write the following code to get list of tasks/issues that belongs to an user but system does always show all tasks/issues of all users. Please give your advices.

<%= select_tag('filter', content_tag('option', l(:label_no_change_option), :value => '') +
content_tag('option', l(:dashboard_select_all), :value => 'all') +
options_from_collection_for_select(options_for_select(@project.assignable_users), :id,:name), :onchange => 'this.form.onsubmit()') %>