changed working time calculation to only consider submissions within 5 minutes instead of 30

This commit is contained in:
Thomas Hille
2017-04-03 18:09:30 +02:00
parent cff46f963d
commit 5a099a42b8
3 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ class ExternalUsersController < ApplicationController
score,
id,
CASE
WHEN working_time >= '0:30:00' THEN '0'
WHEN working_time >= '0:05:00' THEN '0'
ELSE working_time
END AS working_time_new
FROM