From 0e4b3e8ce849ca005f6574dacae61827c2806f50 Mon Sep 17 00:00:00 2001 From: darkArp Date: Sat, 30 Oct 2021 18:31:28 +0100 Subject: [PATCH] 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` --- grails-app/controllers/streama/WatchlistEntryController.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/controllers/streama/WatchlistEntryController.groovy b/grails-app/controllers/streama/WatchlistEntryController.groovy index fa8a2babb..3b1e6082e 100644 --- a/grails-app/controllers/streama/WatchlistEntryController.groovy +++ b/grails-app/controllers/streama/WatchlistEntryController.groovy @@ -101,7 +101,7 @@ class WatchlistEntryController { user == currentUser profile == currentProfile isDeleted == false - video != null + video != null || tvShow != null }.list(sort: sortingColumn, order: sortingOrder) if(!watchlistEntries){ render status: NO_CONTENT