can't do that - entity title is not a metadata..
you need a wheres and an inner join for that, eg.
$db_prefix = elgg_get_config('dbprefix');
'joins' => array("INNER JOIN {$db_prefix}objects_entity o ON (o.guid = e.guid)")
'wheres' => array('o.title = "Rabbit"')
don't forget to use sanitize_string if generating wheres clauses from user data.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.