Run getSlots for non-mainline games in filterByRequest

This commit is contained in:
jvyden 2022-02-16 14:04:07 -05:00
commit 0fb7120dfc
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -381,6 +381,11 @@ public class SlotsController : ControllerBase
private IQueryable<Slot> filterByRequest(string? gameFilterType, string? dateFilterType, GameVersion version)
{
if (version == GameVersion.LittleBigPlanetVita || version == GameVersion.LittleBigPlanetPSP || version == GameVersion.Unknown)
{
return this.getSlots(version);
}
string _dateFilterType = dateFilterType ?? "";
long oldestTime = _dateFilterType switch