Reputation: 273
For example, I have an entity with field "description". In the settings of this entity in "Add Find Columns" I checked field "description". "description" has follow text: "some words about entity". when I type in Quick Find field text "some words" I get my entity, but when I type text "about entity" I get nothing. This looks like search engine try to find entity with field "description" which BEGINS WITH "some words", but doesn't try to find which CONTAINS typed text. How can I fix that?
Upvotes: 1
Views: 942
Reputation: 2123
I have found an answer.
Go to the following path and find "stage.js" file "C:\Program Files\Microsoft Dynamics CRM\CRMWeb_static_common\scripts\"
Create a backup copy of this file before any modification, so that you have the original copy too
Open "stage.js" in a text editor such as EmEditor
Find the following line of code: sFindCriteria=Trim(findCriteria.value.replace(/[*]+/,"*"));findCriteria.value=sFindCriteria;
Now change it to : sFindCriteria=Trim(findCriteria.value.replace(/[*]+/,""));if (sFindCriteria != "" && sFindCriteria.substr(0, 1) != "") sFindCriteria = "*" + sFindCriteria;findCriteria.value=sFindCriteria;
Save the file and try Quick Find to see the change
Upvotes: -1
Reputation: 2848
Try adding a * before and after the search phrase.
So search for: *about entity*
The * acts as a wildcard for any number of characters.
Upvotes: 3