Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mélanie Chauvel
funkwhale
Commits
70054661
Commit
70054661
authored
Dec 04, 2020
by
Ciarán Ainsworth
Browse files
Added album filter to AlbumDetail vue for channel entries
parent
7213d932
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/changelog.d/1282.bugfix
0 → 100644
View file @
70054661
Added an album filter to fix problem where channel entries would show up in the wrong series (#1282)
\ No newline at end of file
front/src/components/library/AlbumDetail.vue
View file @
70054661
...
...
@@ -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"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment