Fix recently played bug

This commit is contained in:
Phan An 2019-04-14 16:12:16 +02:00
parent a998e898f1
commit 08ceb25edb

View file

@ -39,6 +39,7 @@ class InteractionRepository extends AbstractRepository
/** @var Builder $query */
$query = $this->model
->where('user_id', $user->id)
->where('play_count', '>', 0)
->orderBy('updated_at', 'DESC');
if ($count) {