Project

General

Profile

Get the issues/tasks of selected user?

Added by whoiam whoiam over 13 years ago

I would like to get the issues/tasks of an user. I write the following code but it always returns all issues/tasks of all users.

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

Please help me how to get the issues/tasks that belongs the user. Thanks alot


Replies (1)

RE: Get the issues/tasks of selected user? - Added by whoiam whoiam over 13 years ago

I change code a bit as follow but it still does not show list of issues that are belong selected user. Could you please give any advices. Thanks

<%= 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(@project.assignable_users, :id,:name,filter), :onchange => 'this.form.onsubmit()') %>

    (1-1/1)