Browse Source

Fix collection query

Timothy J. Warren 1 week ago
parent
commit
b9e8ddfc9a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Model/AnimeCollection.php

+ 1
- 1
src/Model/AnimeCollection.php View File

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