mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 23:40:38 +01:00
feat: fullname search (#8641)
* feat: fullname search * fix: take last element * fix: attempt to fix psql like query * feat: upgrade sript, another fix attempt * fix: psql test * fix: psql scan * feat: add debug for test * feat: test collate * feat: cleanup * fix: upgrade script
This commit is contained in:
committed by
GitHub
parent
9389749b79
commit
4be693f2e7
@@ -42,7 +42,7 @@ usersController.search = async function (req, res) {
|
||||
match: query,
|
||||
limit: hardCap,
|
||||
});
|
||||
return data.map(data => data.split(':')[1]);
|
||||
return data.map(data => data.split(':').pop());
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user