First time here? Check out the FAQ!

Revision history  [back]

Search for All Property Types

I'm having issues pulling anything other than a specific property type in search. I want to be able to search through all property types. Is there a way to do that? What I have for example:

$results = $rets->Search(
        'Property', 
        $propertyType, <---This is sent as RE_1 through a form but is there a term I can use for all? 
        $searchQuery, 
        [
            'QueryType' => 'DMQL2',
            'Count' => 1,
            'Format' => 'COMPACT-DECODED',
            'Limit' => 1
        ]
    );