fix(associated-media): sorts + grid sizing
This commit is contained in:
parent
6a41304b5f
commit
3dac23b171
9 changed files with 116 additions and 61 deletions
|
@ -59,7 +59,7 @@ SELECT
|
|||
),
|
||||
'type', 'music'
|
||||
)
|
||||
ORDER BY a.name_string
|
||||
ORDER BY a.total_plays DESC
|
||||
)
|
||||
FROM movies_artists ma
|
||||
LEFT JOIN artists a ON ma.artists_id = a.id
|
||||
|
@ -105,7 +105,7 @@ SELECT
|
|||
),
|
||||
'type', 'tv'
|
||||
)
|
||||
ORDER BY s.year DESC
|
||||
ORDER BY s.year ASC
|
||||
)
|
||||
FROM shows_movies sm
|
||||
LEFT JOIN shows s ON sm.shows_id = s.id
|
||||
|
@ -135,7 +135,7 @@ SELECT
|
|||
),
|
||||
'type', 'movies'
|
||||
)
|
||||
ORDER BY rm.year DESC
|
||||
ORDER BY rm.year ASC
|
||||
)
|
||||
FROM related_movies r
|
||||
LEFT JOIN movies rm ON r.related_movies_id = rm.id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue