Fix collection query
All checks were successful
timw4mail/HummingBirdAnimeClient/master This commit looks good

This commit is contained in:
Timothy Warren 2018-11-05 13:25:18 -05:00
parent 99c94963e6
commit b9e8ddfc9a

View File

@ -121,7 +121,7 @@ final class AnimeCollection extends Collection {
->join('media', 'media.id=a.media_id', 'inner')
->order_by('media')
->order_by('title')
->group_by('a.hummingbird_id')
->group_by('a.hummingbird_id, media.type')
->get();
// Add genres associated with each item