feat: Implement a general location search for agents, querying both legacy city/state/country fields and dynamic profile field values.
This commit is contained in:
@@ -16,6 +16,14 @@ export class SearchAgentsDto {
|
||||
@IsString()
|
||||
search?: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
example: 'New York',
|
||||
description: 'General location search across city, state, country, and dynamic field values',
|
||||
})
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
location?: string;
|
||||
|
||||
@ApiPropertyOptional({ example: 'Los Angeles' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
|
||||
Reference in New Issue
Block a user