Added album filter to AlbumDetail vue for channel entries

This commit is contained in:
Ciarán Ainsworth 2020-12-04 10:35:01 +00:00
parent 7213d9327c
commit 70054661c7
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Added an album filter to fix problem where channel entries would show up in the wrong series (#1282)

View File

@ -4,7 +4,7 @@
<translate key="1" v-if="isSerie" translate-context="Content/Channels/*">Episodes</translate>
<translate key="2" v-else translate-context="*/*/*">Tracks</translate>
</h2>
<channel-entries v-if="artist.channel && isSerie" :limit="50" :filters="{channel: artist.channel.uuid, ordering: '-creation_date'}">
<channel-entries v-if="artist.channel && isSerie" :limit="50" :filters="{channel: artist.channel.uuid, album: object.id, ordering: '-creation_date'}">
</channel-entries>
<template v-else-if="discs && discs.length > 1">
<div v-for="tracks in discs" :key="tracks.disc_number">