Hey guys i am wondering if i have my syntax wrong here? or if it is not part of the spec?
This doesn't work. I get the response back in ascending ID, instead of DESC noteDate.
$this->hasMany('id','Nova\Models\Notes','accountId', array(
'alias' => 'notes',
'order' => 'noteDate DESC'
));
I can directly manipulate it after the fact by doing the following.
$account->notes = $account->getNotes(array('order' => 'noteDate DESC'));
but i hate having to reset teh value its just more overhead. its not detrimental right now. but its just one more thing i don't want to have to do. every time i summon up an object.