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
Hi, thank you for the great plugin.
Found a issue tough.
Iam trying to use it with another plugin(mongoose-fuzzy-searching) and had no luck yet...
Here's my router's code
// -Get all users sorted by name
router.get('/', async (req, res) => {
let users_to_return;
const search_param = req.query.search;
});
I am trying to do something like
users_to_return = await User.paginate({}, {...res.locals.pagination, select: '-password' }).fuzzySearch(search_param);
Any ideas?
The text was updated successfully, but these errors were encountered:
Hi, thank you for the great plugin.
Found a issue tough.
Iam trying to use it with another plugin(mongoose-fuzzy-searching) and had no luck yet...
Here's my router's code
// -Get all users sorted by name
router.get('/', async (req, res) => {
let users_to_return;
const search_param = req.query.search;
});
I am trying to do something like
users_to_return = await User.paginate({}, {...res.locals.pagination, select: '-password' }).fuzzySearch(search_param);
Any ideas?
The text was updated successfully, but these errors were encountered: