Need help to modify typeahead search widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2019 11:28 PM
Hi Experts,
I need a help regarding typeahead search widget. We can search by letters in typeahead search for all catalog items. But I am not able to search the same catalog items when I am searching by numbers. Please find the below screen shot.
Please reply if anyone could help on this.
Thanks & regards,
Ritanjali
- Labels:
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 05:49 AM
Hi,
Yes, it's not just single numbers like that, but you also can't search for less than 3 characters I believe. So if I had a catalog item name: IT Helper 2.0 or something and I typed in just IT...it still wouldn't come up, even if I "double-dipped" and tried to place IT in metadata as well.
In the Data Source portion of the search source...unfortunately, I don't see anything about character count, it merely goes off of a "query" function already having brought in my search term using:
sn_sc.CatalogSearch().search(portalValue, '', query);
You may be able to try to alter that somehow to look for STARTS WITH or CONTAINS and see if that changes the results.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 11:25 PM
Hi Allen,
Thanks for your reply, but it is not solving the issue.
Regards,
Ritanjali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2019 05:55 AM
Uh, ok, sure?
It'd be nice if you showed us what you did to say it doesn't work. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2019 06:02 AM