diff --git a/app/views/projects/_development_group.html.erb b/app/views/projects/_development_group.html.erb
index 57fea898b..1ddd9acac 100644
--- a/app/views/projects/_development_group.html.erb
+++ b/app/views/projects/_development_group.html.erb
@@ -1,4 +1,5 @@
<% project_file_num = Attachment.where(:container_type => "Project", :container_id => @project.id).count %>
+<% project_issue_count =Issue.where(:project_id => @project.id).count%>
<%= link_to l(:label_activity), {:controller => 'projects', :action => 'show', :id => @project.id}, :class => "f14 c_blue02" %>
<% unless ForgeActivity.where("project_id = ?", @project.id).count == 0 %>
@@ -8,8 +9,8 @@
<% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %>
<%= link_to l(:label_issue_tracking), project_issues_path(@project, :remote => true), :class => "f14 c_blue02" %>
- <% if @issues_filter.count > 0 %>
-
(<%= @issues_filter.count %>)
+ <% if project_issue_count > 0 %>
+
(<%= project_issue_count %>)
<% end %>
<% if User.current.member_of?(@project) %>