You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a channel's 'View Member' search, when it searches in the position field, it does a match from beginning of the string and not the beginning of each word. E.g. For 'Systems Engineer at Some Company', 'Systems' or 'Systems Engineer' matches, but 'Engineer' or 'Company' would not. I'd expect it to do word matches.
Steps to reproduce
Mattermost Server v9.8.1 and community.mattermost.com
Mattermost Desktop v5.7.0
Search in a channel's 'View Members' search box. When it searches the Position field, it does an match from beginning of the string search. E.g. For 'Systems Engineer at Some Company', 'Systems' or 'Systems Engineer' matches, but 'Engineer' or 'Company' would not. I'd expect it to do word matches.
Expected behavior
I'd expect it to do matches on words as it does withe the other fields. Re the example above, 'Company' and 'Engineer' should match.
Observed behavior
Search only matches from the beginning of the Position field's string.
Possible fixes
Not sure where the in code the code this is , but change the type of search for the position field so that word matches work.
https://github.com/mattermost/mattermost/issues/27283
Summary
In a channel's 'View Member' search, when it searches in the position field, it does a match from beginning of the string and not the beginning of each word. E.g. For 'Systems Engineer at Some Company', 'Systems' or 'Systems Engineer' matches, but 'Engineer' or 'Company' would not. I'd expect it to do word matches.
Steps to reproduce
Mattermost Server v9.8.1 and community.mattermost.com
Mattermost Desktop v5.7.0
Search in a channel's 'View Members' search box. When it searches the Position field, it does an match from beginning of the string search. E.g. For 'Systems Engineer at Some Company', 'Systems' or 'Systems Engineer' matches, but 'Engineer' or 'Company' would not. I'd expect it to do word matches.
Expected behavior
I'd expect it to do matches on words as it does withe the other fields. Re the example above, 'Company' and 'Engineer' should match.
Observed behavior
Search only matches from the beginning of the Position field's string.
Possible fixes
Not sure where the in code the code this is , but change the type of search for the position field so that word matches work.
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-58562
The text was updated successfully, but these errors were encountered: