Revision 762:7dc4d205233e vendor
| vendor/plugins/redmine_tags/app/views/projects/_filter_tags.rhtml | ||
|---|---|---|
| 7 | 7 |
<div id="project_tag_candidates" class="autocomplete"></div> |
| 8 | 8 |
<%= javascript_include_tag 'tags_input', :plugin => 'redmine_tags' %> |
| 9 | 9 |
|
| 10 |
<%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_tags')}')" %>
|
|
| 10 |
<%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_tags', :project_id => Project.first.id)}')" %>
|
|
| 11 | 11 |
</div> |
| 12 | 12 |
<% end -%> |
| 13 | 13 |
</p> |
| vendor/plugins/redmine_tags/app/views/projects/_filtered_projects.rhtml | ||
|---|---|---|
| 1 |
<%= render_project_table_with_filtering(@filtered_projects, @question) %> |
|
| 1 |
<%= render_project_table_with_filtering(@projects, @question) %> |
|
| vendor/plugins/redmine_tags/app/views/projects/index.rhtml | ||
|---|---|---|
| 16 | 16 |
|
| 17 | 17 |
|
| 18 | 18 |
<div style="clear:both;"></div> |
| 19 |
<% form_tag('/projects', :method => :get, :id => :project_filtering) do %>
|
|
| 19 |
<% form_tag(:controller => :projects, :action => :index, :method => :get, :id => :project_filtering) do %>
|
|
| 20 | 20 |
<fieldset id="filters" class="collapsible"> |
| 21 | 21 |
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend> |
| 22 | 22 |
<div> |
| vendor/plugins/redmine_tags/lib/redmine_tags/patches/projects_controller_patch.rb | ||
|---|---|---|
| 75 | 75 |
# intersection of both prject groups |
| 76 | 76 |
@projects = @projects && @tagged_projects_ids unless @tag_list.empty? |
| 77 | 77 |
|
| 78 |
debugger |
|
| 78 | 79 |
@filtered_projects = @projects |
| 79 | 80 |
end |
| 80 | 81 |
end |
Also available in: Unified diff