Alias name search wrong condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I have a query regarding the Service Offering reference field on the Incident form.
Beside this field, there is an alias search button that opens a popup (the Service Offering list view) to search for alias names.
When I click this alias button and type a value (for example, 't'), the search only returns results that start with the entered text.
However, I would like this search to behave as "contains" instead — so that typing 't' would match any Service Offering that contains “t” anywhere in the name or alias.
Can anyone please suggest what configuration or action is needed to make the alias search use contains (LIKE) instead of starts with?
I already tried adding "ref_contains"=true to the dictionary attributes, but it doesn’t seem to affect the alias button popup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago - last edited 5 hours ago
Hi @reddy28 ,
You can use * for contains to query.
For example:
If you want to query "contains t" anywhere in the name or alias then you need use the "*t" in name and alias separately at a time so, it will show all the records whose name field contains t, same when query in the alias field.
If you apply the "*t" in both fields (name and alias) at the same time, it will show only those records in which both fields (name and alias) contain t.
Hope, it helps you.
If my response helped, please mark it as the accepted solution so others can benefit as well.
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.