Closed (fixed)
Project:
Facets
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2018 at 16:17 UTC
Updated:
31 Mar 2021 at 11:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
nrackleff commentedI'm adding a patch here that is absolutely NOT intended to be a real solution to this problem. This patch just has the supportsFacet function return true without doing any checks. This is just to stop it from hiding the form at all so I can use it on a site where I need it.
Comment #3
trevorbradley commentedI'm hitting something similar. My aggregate boolean field somehow has a type definition of "string". Good to know I'm not alone!
I'm going to resolve this by making my own BooleanItemProcessor plugin, extending the original but having supportsFacet return TRUE.
Comment #4
borisson_Let's see if this still applies, because if it does I don't see any harm in applying this. I'd prefer a little bit more visual clutter over things not working.
Comment #5
mikechr commentedInstead of showing the Boolean processor on all facets
return TRUEI believe it would be better to show the processor only if the field is indexed as a boolean field.Comment #7
helioha commentedCreating a patch based on #5. I kept the old code intact since I'm not sure if removing it could break things.
Comment #8
borisson_This looks great, we should probably also write a test for this. But I'm not too unhappy with this going in as-is.
Comment #10
mkalkbrennerCommitted, thanks for your help!