mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Fix recently played bug
This commit is contained in:
parent
a998e898f1
commit
08ceb25edb
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue