Fix last season

This commit is contained in:
2026-03-20 00:02:52 +05:00
parent b126c3c5cb
commit e08853cd90

View File

@@ -57,6 +57,6 @@ public class KodikSearchFilterService {
.findFirst() .findFirst()
.orElse(result.id); .orElse(result.id);
return primaryId + "-" + result.lastSeason; return primaryId + "-" + Math.max(result.lastSeason, 1);
} }
} }