Skip to content

Commit 0e4b3e8

Browse files
authored
Fix shows not showing in watchlist
TV shows have a `null` video property so they wouldn't appear. It was changed so that it checks if it has a `tvShow` or a `video`
1 parent 0dc9f38 commit 0e4b3e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-app/controllers/streama/WatchlistEntryController.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class WatchlistEntryController {
101101
user == currentUser
102102
profile == currentProfile
103103
isDeleted == false
104-
video != null
104+
video != null || tvShow != null
105105
}.list(sort: sortingColumn, order: sortingOrder)
106106
if(!watchlistEntries){
107107
render status: NO_CONTENT

0 commit comments

Comments
 (0)