fix: include highlighted episodes in counting number of episodes
This commit is contained in:
parent
f0136cbb69
commit
8ae8488a81
|
@ -893,7 +893,11 @@ export class UnbodyService {
|
|||
}).then((res) => res.data)
|
||||
: [],
|
||||
numberOfEpisodes: await this.countDocuments(
|
||||
this.helpers.args.wherePath(['Podcasts', show.slug, 'published']),
|
||||
this.helpers.args.wherePath([
|
||||
'Podcasts',
|
||||
show.slug,
|
||||
'published|highlighted',
|
||||
]),
|
||||
).then((res) => res.data),
|
||||
})),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue