rewardz / Feeds

Feeds
Other
2 stars 1 forks source link

organization recognition search only searches the start of name #127

Closed dryice closed 1 year ago

dryice commented 1 year ago

code is here

The issue is for name like "WOO HUI LIN (HU HUILIN" (user ID 1036612 on Cerra SG), searching "woo" works, but searching "Hui" doesn't. @bryan got a report from McDonalds.

Not sure if that's a requirements from other clients or we can change.

suryaiiit commented 1 year ago

I think the issue is because we are filtering the user name by starts with at code instead of contains

woo works as it is the first few characters, but hui is in the middle of the name

Biplabsing commented 1 year ago

@yatishTrootech @VipinRewardz as we discussed we have some issue From FE side ,so yustar is working on it .it will be Better that if we clear this from FE side first then close this card. Note - BE side from Api response its working fine PFA

CC @suryaiiit @SteffiVinod5

suryaiiit commented 1 year ago

@Biplabsing the issue is with the API response, if the API response is fine then we can close this.

Biplabsing commented 1 year ago

Working fine on skordev @suryaiiit