Fix admin runner page -> assign all button
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
b623391720
commit
352f242d8c
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ module Ci
|
||||||
def unassigned(runner)
|
def unassigned(runner)
|
||||||
joins("LEFT JOIN #{Ci::RunnerProject.table_name} ON #{Ci::RunnerProject.table_name}.project_id = #{Ci::Project.table_name}.id " \
|
joins("LEFT JOIN #{Ci::RunnerProject.table_name} ON #{Ci::RunnerProject.table_name}.project_id = #{Ci::Project.table_name}.id " \
|
||||||
"AND #{Ci::RunnerProject.table_name}.runner_id = #{runner.id}").
|
"AND #{Ci::RunnerProject.table_name}.runner_id = #{runner.id}").
|
||||||
where('#{Ci::RunnerProject.table_name}.project_id' => nil)
|
where("#{Ci::RunnerProject.table_name}.project_id" => nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
def ordered_by_last_commit_date
|
def ordered_by_last_commit_date
|
||||||
|
|
Loading…
Reference in a new issue