feature/avoid-repeating-places-in-game #38

Merged
balazs merged 14 commits from feature/avoid-repeating-places-in-game into develop 2021-05-09 10:58:54 +02:00
Showing only changes of commit 899817a853 - Show all commits

View File

@ -90,7 +90,6 @@ class PlaceRepository
$randomOffset = $pickRandomInt($numberOfPlacesLeft); $randomOffset = $pickRandomInt($numberOfPlacesLeft);
} }
// $select_unvisited->orderBy('last_time');
$select->where('id', 'NOT IN', $exclude); $select->where('id', 'NOT IN', $exclude);
$select->limit(1, $randomOffset); $select->limit(1, $randomOffset);