itwinjs-core
itwinjs-core copied to clipboard
Incorrect filtering results when filter contains underscores
When filtering Models Tree and the filter contains a "_" character, the backend returns an invalid "occurances" property, which causes the display states control to work incorrectly.

Similar issue, related to letter casing, was fixed a while ago: https://bentleycs.visualstudio.com/iModelTechnologies/_git/imodel02/pullrequest/272566.
https://bentleycs.visualstudio.com/iModelTechnologies/_git/imodel02/pullrequest/286562
https://bentleycs.visualstudio.com/iModelTechnologies/_git/imodel02/pullrequest/286562
Will need to backport to 3.4.x when this completes.