Closed (cannot reproduce)
Project:
Term Fields
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2011 at 10:07 UTC
Updated:
25 Jan 2013 at 12:12 UTC
I ran into a problem where I needed the exposed filter to be optional in the views, patch attached
| Comment | File | Size | Author |
|---|---|---|---|
| term_fields_optional_filter.patch | 2.09 KB | attiks |
Comments
Comment #1
b-prod commentedI do not understand your problem. Could you give me more details? Filters are not exposed by default in a view, so please explain clearly your issue.
The patch you posted above is supposed to used custom filters, but none are present in the patch.
Moreover, the filter handlers are already defined in the
views_datahook by each field widget, so I do not understand why you want to override them inthe hook_views_data()function, because it is not the expected place.And last thing, there are 7 field widgets (choice, color, date, file, list, numeric and text). Your patch take care of 3 of them, but ignore the others, defining for those remaining widgets a text filter handler that will not work with "file" widget for example.
Comment #2
b-prod commented