Merge commit from fork

Co-authored-by: YoyoChaud <yoan-degans-1337-yoyo@proton.me>
This commit is contained in:
Kalista Payne
2026-06-04 10:46:31 -05:00
committed by GitHub
parent 393b6f9e12
commit 7b7dc255df
+1 -1
View File
@@ -333,7 +333,7 @@ function _getMembersForItem (type) {
const escapedSearch = escapeRegExp(req.query.search);
query.$or = [
{ 'profile.name': { $regex: new RegExp(escapedSearch, 'i') } },
{ 'auth.local.username': { $regex: new RegExp(req.query.search, 'i') } },
{ 'auth.local.username': { $regex: new RegExp(escapedSearch, 'i') } },
];
}
} else if (type === 'group-invites') {