Problem/Motivation
If a user searches in the normal user search for a realname provided by the realname module, the realname module cannot alter the search query and is not able to join the realname table to make a LIKE on the realname table. This is blocking development of #1409314: User Search does not Search Real Names.
Proposed resolution
Add the tag 'user_search'
to the user_search_execute() query.
Remaining tasks
Commit the attached patches.
User interface changes
None
API changes
None
Comments
Comment #1
hass CreditAttribution: hass commentedAlso attaching the D7 patch.
Comment #2
hass CreditAttribution: hass commentedBumping
Comment #3
hass CreditAttribution: hass commentedComment #6
adci_contributor CreditAttribution: adci_contributor commentedTrying to reroll
Comment #7
hass CreditAttribution: hass commentedComment #8
hass CreditAttribution: hass commentedComment #9
hass CreditAttribution: hass commentedWith #2364069: Search specific tags are not available and hook_query_TAG_alter hooks are not invoked (forward-port the tests) in mind a new patch with changed tag name
search_user
.Comment #10
hass CreditAttribution: hass commentedComment #12
Fabianx CreditAttribution: Fabianx commentedRTBC, looks good to me.
Comment #14
hass CreditAttribution: hass commentedTest bot issue
Comment #16
David_Rothstein CreditAttribution: David_Rothstein commentedThis looks good, but it was originally filed as a patch for Drupal 8, and looks like it's still relevant there too, right?
Comment #17
catchComment #18
jhodgdonJust as a note, normally things related to searching are put into the search.module component, to come to the attention of the Search maintainers.