function oldestMother() { return $this->_parentsQuery('full', 'DESC', 'F'); }
Where you got:
" SELECT SQL_CACHE".
" parentfamily.l_to AS id,".
" childbirth.d_julianday2-birth.d_julianday1 AS age".
I haven't reviewed the full SQL statement yet, but I'd say the fact or name childbirth is confusing. It sounds as if the child (in my example i01) has got two birthdays: the day he was actually born and the day of the adoption (which I omnitted).
I'll take a look into it to find out whether it is possible to filter out adopted childs.
Okay, let's see if I can help.
function oldestMother() { return $this-> _parentsQuery( 'full', 'DESC', 'F'); }
Where you got: d_julianday2- birth.d_ julianday1 AS age".
" SELECT SQL_CACHE".
" parentfamily.l_to AS id,".
" childbirth.
I haven't reviewed the full SQL statement yet, but I'd say the fact or name childbirth is confusing. It sounds as if the child (in my example i01) has got two birthdays: the day he was actually born and the day of the adoption (which I omnitted).
I'll take a look into it to find out whether it is possible to filter out adopted childs.