This commit is contained in:
parent
5fec6b3942
commit
6bd2bb7024
|
@ -91,7 +91,7 @@ class Api::Pm::IssuesController < Api::Pm::BaseController
|
|||
end
|
||||
|
||||
def statues
|
||||
@statues = IssueStatus.where.order("position asc")
|
||||
@statues = IssueStatus.order("position asc")
|
||||
@statues = @statues.ransack(name_cont: params[:keyword]).result if params[:keyword].present?
|
||||
@statues = kaminary_select_paginate(@statues)
|
||||
render "api/v1/issues/statues/index"
|
||||
|
|
Loading…
Reference in New Issue