Search by lead into a campaign

I have been a good boy…

from settings >> added to search by target list and campaign by using global search…

then i enabled searching by those two items from the search page…

little did i know, the query is faulty, since it does not return campaign names as related to a lead

Walk through:

search by lead >> shows search results (categorized) >> no campaigns >> no target list… even though the lead resides under a campaign / several campaigns

thank you so much in advance

Global search does not support this type of functionality/search. You would need to customise it to show related records.

where can i do this customization? what is the file to change any queries at all in?