pietro2328

Results 9 comments of pietro2328

Sorry, You have already answered. I must only override the template. It's like this: {% block grid_column_subject_cell %}{{ value }}{% endblock grid_column_subject_cell %} Tks.

I can't change the name of the field, because it is used in other systems. So my query, to know how I can use a field when it has "underscore",...

It is a part of the entity. Maybe I don't understand how to make the annotation have a different name. /** * Source\AdminBundle\Entity\SG_VENDOR * * @ORM\Table() * @ORM\Entity(repositoryClass="Source\AdminBundle\Entity\SG_VENDORRepository") * @GRID\Source(columns="id,...

Is not that. I've tested it in another environment, changing the field (id_country by country), and the problem continues. The error, which throws me: ORA-00937: not a single-group group function...

I made the change without "_", but it throws the same error: ORA-00937: not a single-group group function The class would be: /** Source\AdminBundle\Entity\SG_VENDOR @ORM\Table() @ORM\Entity(repositoryClass="Source\AdminBundle\Entity\SG_VENDORRepository") @GRID\Source(columns="id, country.name, date, time,...

Here it goes: OCI8Exception ::fromErrorInfo (array('code' => '937', 'message' => 'ORA-00937: not a single-group group function', 'offset' => '40', 'sqltext' => 'SELECT count(DISTINCT s0_.id) AS sclr0, s1_.country AS country1 FROM...

Yes, I had tried that, but the error it throws is: ORA-00979: not a GROUP BY expression at OCI8Exception ::fromErrorInfo (array('code' => '979', 'message' => 'ORA-00979: not a GROUP BY...

Yes, try it and same error. But I think the ORM has to solve it directly. No need to do GroupBy. It seems very strange to me.

Thank you very much for your help and time. What I think is that in the first query is doing a "count ()" of more: SELECT count (DISTINCT s0_.id) AS...