From d5cc7424a815a68a21ea080827f737d00b18e88e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Barth Date: Mon, 13 Jun 2011 19:43:40 +0000 Subject: Do not show inactive issue priorities where not necessary (#8573). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6070 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issue_moves/new.rhtml | 2 +- app/views/issues/bulk_edit.rhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views') diff --git a/app/views/issue_moves/new.rhtml b/app/views/issue_moves/new.rhtml index 24d59aedc..a8a053c4c 100644 --- a/app/views/issue_moves/new.rhtml +++ b/app/views/issue_moves/new.rhtml @@ -32,7 +32,7 @@

- <%= select_tag('priority_id', "" + options_from_collection_for_select(IssuePriority.all, :id, :name)) %> + <%= select_tag('priority_id', "" + options_from_collection_for_select(IssuePriority.active, :id, :name)) %>

diff --git a/app/views/issues/bulk_edit.rhtml b/app/views/issues/bulk_edit.rhtml index 71b30ddac..eebce21b4 100644 --- a/app/views/issues/bulk_edit.rhtml +++ b/app/views/issues/bulk_edit.rhtml @@ -21,7 +21,7 @@ <% end %>

- <%= select_tag('issue[priority_id]', "" + options_from_collection_for_select(IssuePriority.all, :id, :name)) %> + <%= select_tag('issue[priority_id]', "" + options_from_collection_for_select(IssuePriority.active, :id, :name)) %>

-- cgit v1.2.3