Closed (fixed)
Project:
Facet API
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2012 at 23:02 UTC
Updated:
23 May 2012 at 18:00 UTC
I am using OR facets with check boxes. Search API with Solr backend.
This is working great, but is there a way to have the clicked facets keep their count?
eg. for the facets field Colors i want the display to show something like:
[ ] White (10)
[ ] Blue (5)
[ ] Yellow (1)
If I check White, Blue stays at 5 and Yellow at 1, but the count after the active item is no longer shown.
I get this:
[X] White
[ ] Blue (5)
[ ] Yellow (1)
but would prefer this:
[X] White (10)
[ ] Blue (5)
[ ] Yellow (1)
I would like the only visual change with the facets block to be the check mark. :)
Atle
Comments
Comment #1
raphael apard commentedYou can override theme function "theme_facetapi_link_active" :
Just adding :
Comment #2
cpliakas commentedCode looks good to me, and this seems like the correct approach.
Thanks for posting, wdki.
Chris