MaxandreOgeret

Results 17 comments of MaxandreOgeret

Thanks for your answer. No, the result was not the same, as the count is a count distinct. [001|value1] [001|value2] [002|value3] [002|value4] This will only count 2, while it should...

Yes you're right. and my source is an entity Setting the field as primary do not work with the count query. The count walker, takes the primary key of the...

I don't have the sources right now, but i'll try to give you an exemple. I have two tables : >[---CUSTOMER---] >[ID |NAME |LEVEL] >[001|value1| 01] >[002|value2| 02] >[003|value3| 02]...

You may just check that the count request is made on the column marked as primary.

I am using `Entity` as grid source, thanks you :)

I tried : `$grid->getColumn('id')->setPrimary(false);` I also tried via annotations. Yes i tried to log again too. I tried to dump the column and the attribute primary id expectedly false.

I'm at your service if further investigations are required. Thanks for the moment too. 🥇

THis may help you ![count](https://user-images.githubusercontent.com/22786578/28814432-d85cbebe-769d-11e7-94bc-44db44506994.jpg)

I think I should create a new source type (like Document, Entity or Vector) named "DTO"