From 8b938add2734e64f0f5d11a38ab831037f436421 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Mon, 5 Nov 2018 13:25:18 -0500 Subject: [PATCH] Fix collection query --- src/Model/AnimeCollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/AnimeCollection.php b/src/Model/AnimeCollection.php index a140fbe7..904dd902 100644 --- a/src/Model/AnimeCollection.php +++ b/src/Model/AnimeCollection.php @@ -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