Commit 70054661 authored by Ciarán Ainsworth's avatar Ciarán Ainsworth
Browse files

Added album filter to AlbumDetail vue for channel entries

parent 7213d932
Pipeline #12877 passed with stages
in 7 minutes and 49 seconds
Added an album filter to fix problem where channel entries would show up in the wrong series (#1282)
\ No newline at end of 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">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment