Skip to content

Commit

Permalink
fix: fix get sub-groups
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Oct 6, 2023
1 parent 36d0e61 commit 3466997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/API/v3/Controllers/TreeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public ActionResult<List<Group>> GetSubGroups([FromRoute] int groupID, [FromQuer
return false;
}

return includeEmpty || group.GetAllSeries()
return includeEmpty || subGroup.GetAllSeries()
.Any(s => s.GetAnimeEpisodes().Any(e => e.GetVideoLocals().Count > 0));
})
.OrderBy(group => group.GroupName)
Expand Down

0 comments on commit 3466997

Please sign in to comment.