I am having an issue with hiding the exposed filter when an Exposed Operator is used and BEF has a filter set with "Exposed filter as Checkbox Radio Buttons"
Steps to reproduce:
- In views, set a field with options as exposed with "Exposed Operator" set.
(In my case it is an entity reference field with "Render Views filters as select list" checked in the field settings) - Modify the BEF settings and set "Display "field_name" (Filter label: "Label Name") exposed filter as" to "Checkboxes/RadioButtons"
Expected:
When the Exposed Operator is set to "Empty" or "Not Empty", the exposed filter input should be hidden.
Result:
The exposed filter input is not hidden.
This issue seems to be the result of ctools' #dependency property not being able to find the exposed filter input because it is missing it's element #id
I have discovered the problem lies in theme_select_as_checkboxes() where the output element markup should contain the ID but it does not.
This issue may be more widespread with other theme functions, but this is the only scenario I am working with
Comment | File | Size | Author |
---|---|---|---|
#3 | 2851303.diff | 559 bytes | mdolnik |
Comments
Comment #2
mdolnik CreditAttribution: mdolnik commentedComment #3
mdolnik CreditAttribution: mdolnik commentedHere is a patch with a solution
Comment #4
Neslee Canil PintoHi, there will be no more future development for 7.x branch. If you see this issue in 8.x, feel free to file an issue. Closing this as Closed(wont fix).