FOSElasticaBundle icon indicating copy to clipboard operation
FOSElasticaBundle copied to clipboard

Logging get and _mget item count

Open SosthenG opened this issue 4 years ago • 1 comments

Hi,

I noticed that get and _mget requests always have an item count at 0 in the SF profiler. This made me wrongly belive that one of my get requests was not working.

I made a quick fix for that here: https://github.com/SosthenG/FOSElasticaBundle/commit/e372da3b7be8deeff2b6e4850bcecd1f453eac0e

So we can verify the number of items founds in the SF profiler: image (in this example I'm searching for two docs, only one is found, but the value was always 0 without this fix)

Please tell me if this is acceptable as a PR or not, but I think the item count for such requests is confusing right now.

SosthenG avatar Feb 09 '21 13:02 SosthenG

Can anyone tell me if I can make a PR out of this or if this is going to be fixed in another way?

SosthenG avatar Mar 29 '21 13:03 SosthenG