This is of course dynamic so it could be 25 fixtures with 10 winners. Or 11 winners. But we only want and need 10
Hmm strange, maybe I could use filter any or partial match? I have an array of 3 IDs (winning numbers) but the dataobject I am getting only needs to have 2 of the 3 items in array. So it might not be working because its trying to find an entry with the 3 winning numbers not 2/3?
$Winners = CustomEntryRecord::get()->filter(array('CustomDrawID' => $this->ID, 'Entries.ID' => $win_array_data));
does anyone know if you can have a model admin of 2 dataobjects in 1 list?
Yeah, I will go from the start of the code again and see if anything is erroring, atleast I know now the email bit I am doing is right
it just doesnt loop the entries , very strange
you can do it with or without the sign I believe ?