Removed scope from movie scene query, fixes movie scenes missing.
This commit is contained in:
parent
4b93ae788f
commit
4c5e8894ef
|
@ -155,6 +155,22 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<div
|
||||
v-if="scenes.length > 0"
|
||||
class="section"
|
||||
>
|
||||
<h3 class="heading">Scenes</h3>
|
||||
|
||||
<ul class="scenes nolist">
|
||||
<li
|
||||
v-for="scene in scenes"
|
||||
:key="`scene-${scene.id}`"
|
||||
>
|
||||
<SceneTile :scene="scene" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="movie.description"
|
||||
class="section"
|
||||
|
@ -190,19 +206,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section ">
|
||||
<h3 class="heading">Scenes</h3>
|
||||
|
||||
<ul class="scenes nolist">
|
||||
<li
|
||||
v-for="scene in scenes"
|
||||
:key="`scene-${scene.id}`"
|
||||
>
|
||||
<sceneTile :scene="scene" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="section details">
|
||||
<div class="detail">
|
||||
<h3 class="heading">Added</h3>
|
||||
|
|
|
@ -21,7 +21,6 @@ export async function onBeforeRender(pageContext) {
|
|||
fetchMoviesById([Number(pageContext.routeParams.movieId)], pageContext.user),
|
||||
fetchScenes(await curateScenesQuery({
|
||||
...pageContext.urlQuery,
|
||||
scope: pageContext.routeParams.scope || 'latest',
|
||||
movieId: Number(pageContext.routeParams.movieId),
|
||||
}), {
|
||||
page: Number(pageContext.routeParams.page) || 1,
|
||||
|
|
Loading…
Reference in New Issue