Gravatar for matthieu.keromen@gmail.com

Question by kmelkez, Oct 8, 2014 5:19 PM

Coveo count tag is removed

Hi,

I'm working with the Coveo JS Framework. I'm using Facet component and I have some troubles. When I select an item (checkbox), the coveo-count span tag is removed (in HTML markup) for other items.

Here my markup for my Facet :

<div id="Facet_Type" data-id="content_type" class="CoveoFacet"></div>

And my JS code :

Facet_Type: {
                title               : 'title',
                field               : '@fieldtype',
                valueCaption        : typeCaption,
                showIcon            : true
            }

Any ideas ?

Thanks, Matt

1 Reply
Gravatar for mlaporte@coveo.com

Answer by Martin Laporte, Oct 9, 2014 8:24 AM

Hmm if I understand right that does not seem like the right behavior. But I can't reproduce here. Typically when selecting a facet value the other values will end up with +X where X is the number of results that would be added by also selecting this value.

That could be caused by some other custom code in your page. Is there anything worthy of mention on that aspect?

Gravatar for matthieu.keromen@gmail.com

Comment by kmelkez, Oct 9, 2014 10:38 AM

No idea why but it seems to be something with my data-id attribute

Ask a question