Revision 771:8712a4e535d3 vendor/plugins

View differences:

vendor/plugins/redmine_tags/lib/redmine_tags/patches/projects_controller_patch.rb
94 94

  
95 95
          @projects = Project.visible
96 96

  
97
          @featured_projects = @projects.featured if Project.respond_to? :featured
98

  
99 97
          # luisf 
100 98
          @projects = @projects.search_by_question(@question) unless @question == ""
101 99
          @tagged_projects_ids = Project.tagged_with(@tag_list).collect{ |project| Project.find(project.id) } unless @tag_list.empty?
102 100

  
101
          # intersection of both prject groups            
102
          @projects = @projects & @tagged_projects_ids unless @tag_list.empty?
103

  
103 104
          debugger
104 105

  
105
          # intersection of both prject groups            
106
          @projects = @projects && @tagged_projects_ids unless @tag_list.empty?
107 106
        end
108 107
      end
109 108
    end

Also available in: Unified diff