mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-05 21:54:47 -04:00
Add components to key search
This commit is contained in:
@@ -80,6 +80,21 @@ export async function GET(request: Request) {
|
||||
description: {contains: searchQuery, mode: 'insensitive'},
|
||||
},
|
||||
},
|
||||
{
|
||||
profile: {
|
||||
occupation: {contains: searchQuery, mode: 'insensitive'},
|
||||
},
|
||||
},
|
||||
{
|
||||
profile: {
|
||||
location: {contains: searchQuery, mode: 'insensitive'},
|
||||
},
|
||||
},
|
||||
{
|
||||
profile: {
|
||||
contactInfo: {contains: searchQuery, mode: 'insensitive'},
|
||||
},
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user