diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-18 20:39:44 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-18 20:39:44 +0200 |
commit | e0f90fb2dee39a6d7f2ecea7de43466bf9ac25ad (patch) | |
tree | e86dc6d5525c245ef7391dc58912bb03c37b853c /app | |
parent | f374379834b13f574015917440b0e7e702d8198f (diff) | |
download | gitlab-ce-e0f90fb2dee39a6d7f2ecea7de43466bf9ac25ad.tar.gz |
Return created status
Diffstat (limited to 'app')
-rw-r--r-- | app/models/concerns/has_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/has_status.rb b/app/models/concerns/has_status.rb index d658552f695..0fa4df0fb56 100644 --- a/app/models/concerns/has_status.rb +++ b/app/models/concerns/has_status.rb @@ -20,7 +20,7 @@ module HasStatus skipped = scope.skipped.select('count(*)').to_sql deduce_status = "(CASE - WHEN (#{builds})=(#{created}) THEN NULL + WHEN (#{builds})=(#{created}) THEN 'created' WHEN (#{builds})=(#{skipped}) THEN 'skipped' WHEN (#{builds})=(#{success})+(#{ignored})+(#{skipped}) THEN 'success' WHEN (#{builds})=(#{created})+(#{pending})+(#{skipped}) THEN 'pending' |