mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-19 19:25:57 +08:00
修复:标记issue数量问题
This commit is contained in:
@@ -7,7 +7,7 @@ class IssueTagsController < ApplicationController
|
||||
|
||||
|
||||
def index
|
||||
issue_tags = @project.issue_tags.reorder("#{order_name} #{order_type}")
|
||||
issue_tags = @project.issue_tags.includes(:issues).reorder("issue_tags.#{order_name} #{order_type}")
|
||||
@user_admin_or_member = current_user.present? && (current_user.admin || @project.member?(current_user))
|
||||
@page = params[:page] || 1
|
||||
@limit = params[:limit] || 15
|
||||
|
||||
Reference in New Issue
Block a user