So I have this category widget

With this config

But when I perform a search...

And then, when I select the MOTORWAY and click on apply...

Is it displaying COUNT during the search instead of the defined aggregation?
.
Related: S/B 11190615
We thought this 2.9M number was a COUNT:

Because widget is set up this way:

But when user:

2.9M is not the result:

I could not replicate with small dataset鈥攊f we need to use this client data for testing I can report in private repo.
@CartoDB/support let client know when fixed please.
We are having a similar issue with the category widget. The strange behavior we have:
1) Category Widget does not show all of the categories - this would be okay if the search worked as expected.
2) On selecting a category from the list - the widget filters results to show only the selected category.
But on selecting a category from the returned search results, the widget filters to show all results EXCEPT the selected category.
This is actually visible in @AbelVM post above in addition to the numbers being incorrect.
Indeed the values for category widgets are different in search and filter mode, the urls are different, but I'm not sure if this _weird_ behaviour is intended, it returns the resulting number of occurrences when searching.
This is the search url (find attached)
http://matatageom.localhost.lan:8181/api/v1/map/ed3080892b7bc3214bc20fa7eb425bef:1499173664221/dataview/30f62ab4-21d2-4498-8fdc-9f9212fdbbcd/search?q=9&api_key=2ccd3fe047d99a8e8c97771aa396692c6510221f

This is the filter url (find attached)
http://matatageom.localhost.lan:8181/api/v1/map/c9cabc3215bdc6aadde2cd89c72dc351:1499173664221/dataview/30f62ab4-21d2-4498-8fdc-9f9212fdbbcd?bbox=-15.508092641830446,27.7838613115335,-15.505174398422243,27.787961749415377&own_filter=1&api_key=2ccd3fe047d99a8e8c97771aa396692c6510221f

actually when digging in the code I can see a getSearchCount method which makes me think this is the intended behavior
https://github.com/CartoDB/deep-insights.js/blob/master/src/widgets/category/stats/stats-view.js#L26-L33
please @kevin-reilly @noguerol can you shed light on this issue?
@matallo that's a bug. The values should be the same IMO
They do.
Acceptance: OK

Search:

:heart:
Most helpful comment
Acceptance: OK
Search:
