Keep search field & allow search by nickname
This commit is contained in:
1 parent
8a46edfde6
commit
4948d5219c
3 files changed
+6
-6
No files matched your search
@@ -1077,7 +1077,7 @@ class MapManager implements CallbackListener, CommunicationListener, UsageInform
|
||||
}
|
||||
break;
|
||||
case self::SEARCH_BY_AUTHOR:
|
||||
if (strpos(strtolower($map->authorLogin), $searchString) !== false) {
|
||||
if (strpos(strtolower($map->authorLogin), $searchString) !== false || strpos(strtolower($map->authorNick), $searchString) !== false) {
|
||||
array_push($result, $map);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user