mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-17 16:22:15 +02:00
Add required: true to includes in podcast episodes page query
This commit is contained in:
parent
cb9fc3e0d1
commit
bd4f48ec39
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue