i think this is the same as this case: #436564: Support Views FILTER but Nancy says it isn't so i'll reword here:

it would be good if there was a views filter to filter on the realname of a node's author.

Currently i seem to be able to do this for userref fields by adding a relationship with the userref field and then using the existing filter for realname: name filter. But this always requires a relationship when adding this filter; so no way to use this for the actual author of the base node of the view. (note; perhaps this is being done by the realname userref module and simply isn't available for a node's author??)

perhaps there is someway that i haven't figured out yet to add a relationship to relate the node back to itself (but that seems silly).

just realized i have 6-1.1 so will retry with 1.5

CommentFileSizeAuthor
#2 realname-views-filter-use-contain.patch658 bytesliquidcms
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

liquidcms’s picture

hmm.. i see the basic User: Name filter uses an autocomplete with realname support and works with the Author property. so perhaps that is the expected solution for this; although unlike the userref realname filters it has to be the exact spelling of the realname to trigger the autocomplete... i'll leave this issue open for now as maybe there is a solution for what i need - and maybe i should create a new case simply as a bug saying the User: Name realname autocomplete filter should use "contains" instead of "begins with"?

liquidcms’s picture

Status: Needs work » Needs review
FileSize
658 bytes

ok, easiest patch ever.. lol...

changed 1 line in realname module and it now does "contain" instead of "begins with" - pretty sure a much better solution for this.

Status: Active » Needs work

The last submitted patch, realname-views-filter-use-contain.patch, failed testing.

Status: Needs review » Needs work
hass’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)