$cacheKey = "civicrm search {$this->_key}";
Civi::service('prevnext')->deleteItem(NULL, $cacheKey, 'civicrm_contact');
$cacheKey = "civicrm search {$this->_key}";
Civi::service('prevnext')->deleteItem(NULL, $cacheKey, 'civicrm_contact');
- $sql = $this->_query->getSearchSQL(0, 0, $sort,
+ $sql = $this->_query->getSearchSQLParts(0, 0, $sort,
FALSE, FALSE,
FALSE, FALSE,
$this->_campaignWhereClause,
NULL,
$this->_campaignFromClause
);
FALSE, FALSE,
FALSE, FALSE,
$this->_campaignWhereClause,
NULL,
$this->_campaignFromClause
);