BigW Consortium Gitlab

Commit d5fcf0f6 by randx

Show labels specific to project

parent 8d65f51e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment