Fixed movie cover index in GraphQL query.

This commit is contained in:
DebaucheryLibrarian 2022-01-29 23:39:12 +01:00
parent fffd54995d
commit 07cb39c756
3 changed files with 3 additions and 3 deletions

View File

@ -278,7 +278,7 @@ function bannerBackground() {
function pageTitle() {
return this.release
&& (this.release.title
|| (this.release.actors.length > 0 ? `${this.release.actors.map(actor => actor.name).join(', ')} for ${this.release.entity.name}` : null));
|| (this.release.actors.length > 0 ? `${this.release.actors.map((actor) => actor.name).join(', ')} for ${this.release.entity.name}` : null));
}
function showAlbum() {

View File

@ -516,7 +516,7 @@ const releaseFragment = `
id
title
slug
covers: moviesCovers {
covers: moviesCovers(orderBy: MEDIA_BY_MEDIA_ID__INDEX_ASC) {
media {
id
index

View File

@ -191,7 +191,7 @@ function initReleasesActions(store, router) {
isS3
}
}
covers: moviesCovers {
covers: moviesCovers(orderBy: MEDIA_BY_MEDIA_ID__INDEX_ASC) {
media {
id
path