From e28145c366795bc448d26a13e1d3fd2322f634d9 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Thu, 8 Oct 2015 09:37:43 +0200 Subject: [PATCH] Improved experiment generation --- controllers/prototype/dbrequests.js | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/prototype/dbrequests.js b/controllers/prototype/dbrequests.js index da5a5f4..abbc2de 100644 --- a/controllers/prototype/dbrequests.js +++ b/controllers/prototype/dbrequests.js @@ -697,6 +697,7 @@ DBReq.ExpCreator.prototype.execute = function() { " Scene.name != 'peachcastle' AND\n" + " CoinCombination.id = Experiment.coin_combination_id AND\n" + " Other.id = Experiment.user_id AND\n" + + " Experiment.finished = true AND\n" + " Other.rating = U.rating AND\n" + " Other.id != U.id AND\n" + " U.id = $1 \n" +