Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
352f242d
Commit
352f242d
authored
Sep 25, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix admin runner page -> assign all button
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
b6233917
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/models/ci/project.rb
app/models/ci/project.rb
+1
-1
No files found.
app/models/ci/project.rb
View file @
352f242d
...
@@ -100,7 +100,7 @@ module Ci
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment