mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Only list collections if more than 1 item is contained
This commit is contained in:
parent
b72553aa11
commit
f2ebc5659e
@ -48,9 +48,14 @@ namespace Kyoo.Core.Controllers
|
||||
movies) as m on false
|
||||
full outer join(
|
||||
select
|
||||
* -- Collection
|
||||
c.* -- Collection as c
|
||||
from
|
||||
collections) as c on false
|
||||
collections as c
|
||||
left join link_collection_show as ls on ls.collection_id = c.id
|
||||
left join link_collection_movie as lm on lm.collection_id = c.id
|
||||
group by c.id
|
||||
having count(*) > 1
|
||||
) as c on false
|
||||
""";
|
||||
|
||||
protected override Dictionary<string, Type> Config => new()
|
||||
|
Loading…
x
Reference in New Issue
Block a user