DatatableBundle
DatatableBundle copied to clipboard
Embeddable field problem
Hello, When using embeddables the getData fucntion at Waldo\DatatableBundle\Util\Factory\Query\DoctrineBuilder doesn't work.
We think that this could be solved:
Embeddables: Fields thats comes like alias.address.zipcode then the 331 line not work.
We suggest replace the line 331 inside the get_scalar_key function:
$_f = str_replace('.', '_', $_f);
by:
$pos = strpos($_f,'.');
if ($pos !== false) {
$_f = substr_replace($_f,'_',$pos,strlen('.'));
}
What's do you oppinnion about it?
Thanks