diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-24 15:34:27 +0300 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-24 15:34:27 +0300 |
commit | d5fcf0f672ffb5457c9b1bc345c4cf72a94af324 (patch) | |
tree | 311007582702f02c1c81a6cfb6f5a1edcbff6dde | |
parent | 8d65f51e635ae84dd19b361a2cf9fb1ef2c2014b (diff) | |
download | gitlab-ce-d5fcf0f672ffb5457c9b1bc345c4cf72a94af324.tar.gz |
Show labels specific to project
-rw-r--r-- | app/controllers/labels_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/labels_controller.rb b/app/controllers/labels_controller.rb index f52fc2d8180..e703f822982 100644 --- a/app/controllers/labels_controller.rb +++ b/app/controllers/labels_controller.rb @@ -14,7 +14,7 @@ class LabelsController < ApplicationController respond_to :js, :html def index - @labels = Issue.tag_counts_on(:labels) + @labels = @project.issues.tag_counts_on(:labels).order('count DESC') end protected |