summaryrefslogtreecommitdiff
path: root/app/views/shared/groups
diff options
context:
space:
mode:
authorNaveen Kumar <timbanaveen@gmail.com>2017-03-24 20:00:46 +0000
committerAlfredo Sumaran <alfredo@gitlab.com>2017-03-24 20:00:46 +0000
commit9de5ec5c3e8405da87b782953e3833e8588d82a4 (patch)
tree86b722069506e4d21e2dceeaf2a02cad7fa628aa /app/views/shared/groups
parent48079c3169688e4cfbaf89946d9ef61b335731e0 (diff)
downloadgitlab-ce-9de5ec5c3e8405da87b782953e3833e8588d82a4.tar.gz
Adding non_archived scope for counting projects
Diffstat (limited to 'app/views/shared/groups')
-rw-r--r--app/views/shared/groups/_group.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/groups/_group.html.haml b/app/views/shared/groups/_group.html.haml
index a95020a9be8..09f946f1d88 100644
--- a/app/views/shared/groups/_group.html.haml
+++ b/app/views/shared/groups/_group.html.haml
@@ -17,7 +17,7 @@
.stats
%span
= icon('bookmark')
- = number_with_delimiter(group.projects.count)
+ = number_with_delimiter(group.projects.non_archived.count)
%span
= icon('users')