mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-02-19 00:18:56 +01:00
Add required: true to includes in podcast episodes page query
This commit is contained in:
parent
cb9fc3e0d1
commit
bd4f48ec39
@ -276,10 +276,12 @@ module.exports = {
|
|||||||
include: [
|
include: [
|
||||||
{
|
{
|
||||||
model: Database.podcastModel,
|
model: Database.podcastModel,
|
||||||
|
required: true,
|
||||||
where: userPermissionPodcastWhere.podcastWhere,
|
where: userPermissionPodcastWhere.podcastWhere,
|
||||||
include: [
|
include: [
|
||||||
{
|
{
|
||||||
model: Database.libraryItemModel,
|
model: Database.libraryItemModel,
|
||||||
|
required: true,
|
||||||
where: libraryItemWhere
|
where: libraryItemWhere
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user