changeset 796:6d3ad4b3a500 feature_14

Fixes Bug #340.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 21 Nov 2011 16:26:51 +0000
parents 22358e72a390
children 3ae3a51c16a8 4719c1f813fc
files vendor/plugins/redmine_tags/lib/redmine_tags/patches/projects_helper_patch.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vendor/plugins/redmine_tags/lib/redmine_tags/patches/projects_helper_patch.rb	Mon Nov 21 16:20:30 2011 +0000
+++ b/vendor/plugins/redmine_tags/lib/redmine_tags/patches/projects_helper_patch.rb	Mon Nov 21 16:26:51 2011 +0000
@@ -64,7 +64,7 @@
           s << " no_description" if project.description.blank?
           s << "'>" << link_to( highlight_tokens(project.name, tokens), {:controller => 'projects', :action => 'show', :id => project}, :class => "project #{User.current.member_of?(project) ? 'my-project' : nil}")
           s << "</div>"
-          s << render_project_short_description(project)
+          s << highlight_tokens(render_project_short_description(project), tokens)
           s << "<td class='managers' align=top>"
            
           u = project.users_by_role