This seems to be a views issue. It's using the 'real_field', which for name module that means it's always field_name_title in most cases.
I'm not sure if I can fix that in name module off hand with providing a proper real field especially when the values are rewritten or combined like given + family.
One solution(workaround): add the field components directly and not the field and exclude them from display and add those into the combined filter. They are all named 'Name Components: COMPONENTNAME'
One solution(workaround): add the field components directly and not the field and exclude them from display and add those into the combined filter. They are all named 'Name Components: COMPONENTNAME'
This is the best solution, used this myself just yesterday. :)
The combined internal filter doesn't seem to be fixable globally, i remember finding mysql specific solutions a year or two back, but nothing globally
real_field with what most field filters not provided by this module will use, which defaults to the first component it can get it's hands on (in my case title). It would be sweet if views had a way to decorate/extend existing query() for specific fields in the handlers but that is not something that exists. We could create a new Global combined filter that would deal with the component fields, but that may not be worth it.
Comments
Comment #1
Anonymous (not verified) commentedolomouc created an issue. See original summary.
Comment #2
joelpittetI've had this issue too. It looks like it's grabbing the title component for each field.
Comment #3
joelpittetThis seems to be a views issue. It's using the 'real_field', which for name module that means it's always
field_name_titlein most cases.I'm not sure if I can fix that in name module off hand with providing a proper real field especially when the values are rewritten or combined like given + family.
One solution(workaround): add the field components directly and not the field and exclude them from display and add those into the combined filter. They are all named 'Name Components: COMPONENTNAME'
Comment #4
alan d. commentedThis is the best solution, used this myself just yesterday. :)
The combined internal filter doesn't seem to be fixable globally, i remember finding mysql specific solutions a year or two back, but nothing globally
Set to a task to update documentation
Comment #5
joelpittetreal_fieldwith what most field filters not provided by this module will use, which defaults to the first component it can get it's hands on (in my case title). It would be sweet if views had a way to decorate/extend existingquery()for specific fields in the handlers but that is not something that exists. We could create a new Global combined filter that would deal with the component fields, but that may not be worth it.+1 to documentation.
Comment #6
alan d. commented