aw3843: correction on SMDMax
All checks were successful
FarmMaps.Develop/CarbonLib/pipeline/head This commit looks good

This commit is contained in:
2022-06-03 11:25:01 +02:00
parent b0ac42a957
commit e8d328d6c2
3 changed files with 47 additions and 19 deletions

View File

@@ -74,7 +74,6 @@ namespace FarmMapsAPI.Carbon.Models
public List<(string, int, string)> KeysWhereCropKeyExists(int year, string crop)
{
//return TrippleKeyParam.Where(x => x.Value.Any(y => y.Key == column)).Select(s=>s.Key).ToList();
return TrippleKeyParam.Where(x => x.Key.Item2 == year && x.Key.Item3.ToLower() == crop.ToLower()).Select(s=>s.Key).ToList();
}
}