It would be nice to be able to get the template name of pages in the array returned by $pages->findRaw(), maybe by using a syntax like template.name in the $fields argument.
Currently you can get the template ID by using templates_id in $fields but often the template name is preferred and that then requires the developer to do a separate step to translate the template IDs to names. It would be handy if findRaw() could take care of that.
Short description of the enhancement
It would be nice to be able to get the template name of pages in the array returned by
$pages->findRaw()
, maybe by using a syntax liketemplate.name
in the$fields
argument.Currently you can get the template ID by using
templates_id
in$fields
but often the template name is preferred and that then requires the developer to do a separate step to translate the template IDs to names. It would be handy iffindRaw()
could take care of that.