Merge branch 'standalone_develop' into pm_project_develop

This commit is contained in:
2023-12-01 10:00:38 +08:00
3 changed files with 11 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ class Api::V1::Issues::StatuesController < Api::V1::BaseController
# 状态列表
def index
@statues = IssueStatus.order("position asc")
@statues = IssueStatus.where.not(name: '反馈').order("position asc")
@statues = @statues.ransack(name_cont: params[:keyword]).result if params[:keyword].present?
@statues = kaminary_select_paginate(@statues)
end