diff --git a/src/Models/HitRepository.php b/src/Models/HitRepository.php index 9cd5d9f..3452264 100644 --- a/src/Models/HitRepository.php +++ b/src/Models/HitRepository.php @@ -39,7 +39,7 @@ class HitRepository extends EntityRepository } $query = $this->_em->createQuery( - "SELECT h, ABS(:score - h.emotions.$emotionField) as HIDDEN distance, RAND() AS HIDDEN rand FROM ".Hit::class." h WHERE h.hasImage = :has ORDER BY distance ASC, rand" + "SELECT h, ABS(:score - h.emotions.$emotionField) as HIDDEN distance, RAND() AS HIDDEN lala FROM ".Hit::class." h WHERE h.hasImage = :has ORDER BY distance ASC, lala" ) ->setParameters([ 'score' => $score,