Fix collection query

This commit is contained in:
Timothy Warren 2018-11-05 13:25:18 -05:00
parent 8672112bdc
commit 8b938add27

View File

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