summaryrefslogtreecommitdiffstats
path: root/app/views/my/blocks/_issue_query_selection.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/my/blocks/_issue_query_selection.html.erb')
-rw-r--r--app/views/my/blocks/_issue_query_selection.html.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/my/blocks/_issue_query_selection.html.erb b/app/views/my/blocks/_issue_query_selection.html.erb
index 64a3f32af..640f049b0 100644
--- a/app/views/my/blocks/_issue_query_selection.html.erb
+++ b/app/views/my/blocks/_issue_query_selection.html.erb
@@ -1,5 +1,3 @@
-<% visible_queries = IssueQuery.visible.sorted %>
-
<h3>
<%= l(:label_issue_plural) %>
</h3>
@@ -10,7 +8,7 @@
<p>
<label>
<%= l(:label_query) %>
- <%= select_tag "settings[#{block}][query_id]", content_tag("option") + options_from_collection_for_select(visible_queries, :id, :name, settings[:query_id]) %>
+ <%= select_tag "settings[#{block}][query_id]", content_tag("option") + options_from_collection_for_select(queries, :id, :name, settings[:query_id]) %>
</label>
</p>
</div>