Fixed movie cover index in GraphQL query.
This commit is contained in:
		
							parent
							
								
									fffd54995d
								
							
						
					
					
						commit
						07cb39c756
					
				|  | @ -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() { | ||||
|  |  | |||
|  | @ -516,7 +516,7 @@ const releaseFragment = ` | |||
| 			id | ||||
| 			title | ||||
| 			slug | ||||
| 			covers: moviesCovers { | ||||
| 			covers: moviesCovers(orderBy: MEDIA_BY_MEDIA_ID__INDEX_ASC) { | ||||
| 				media { | ||||
| 					id | ||||
| 					index | ||||
|  |  | |||
|  | @ -191,7 +191,7 @@ function initReleasesActions(store, router) { | |||
| 							isS3 | ||||
| 						} | ||||
| 					} | ||||
| 					covers: moviesCovers { | ||||
| 					covers: moviesCovers(orderBy: MEDIA_BY_MEDIA_ID__INDEX_ASC) { | ||||
| 						media { | ||||
| 							id | ||||
| 							path | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue