I had created custom lookup with hidden key unique_name(not used user_id since needed unique_name for filtering) and Display name as Full name of resource.
I'd added this lookup to parameter attribute in query, and added this parameter field into filter layout of portlet.
When searched with full name in field it never shows any results, but it shows results when searched with unique_name.
This is pretty weird behavior I've observed.
Can anyone please help?