[eluser]tarciozemel[/eluser]
I think I found a bug. Seems like
->include_join_fields() doesn't accept chaining. I have the code:
Code:
$whatever = new Whatever_model();
$whatever
->where_related('x', 'y')
->where('z', 'w')
->include_join_fields()
->get_iterated();
And I haven't the join field included. But, if I make this:
Code:
$whatever = new Whatever_model();
$whatever->include_join_fields();
$whatever
->where_related('x', 'y')
->where('z', 'w')
->get_iterated();
DataMapper brings me the join value.
It's a bug or I miss something? If is a bug, in the 1.8.2 everything about this it's fine?