Skip to content

Commit

Permalink
Fix export
Browse files Browse the repository at this point in the history
  • Loading branch information
leepeuker committed Sep 11, 2024
1 parent 1b53a01 commit 65e9ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Domain/Movie/MovieRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ public function fetchWatchDatesOrderedByWatchedAtDesc(int $userId) : array
'SELECT m.*, muwd.watched_at, muwd.plays, comment, l.name as location_name
FROM movie_user_watch_dates muwd
JOIN movie m on muwd.movie_id = m.id
JOIN location l on muwd.location_id = l.id
LEFT JOIN location l on muwd.location_id = l.id
WHERE muwd.user_id = ?
ORDER BY watched_at DESC, muwd.position DESC',
[$userId],
Expand Down

0 comments on commit 65e9ec0

Please sign in to comment.