}
if (array_key_exists('filters', $table)) {
foreach ($table['filters'] as $filterName => $filter) {
- if (!empty($this->_params["{$filterName}_value"]) ||
- CRM_Utils_Array::value("{$filterName}_op", $this->_params) ==
- 'nll' ||
- CRM_Utils_Array::value("{$filterName}_op", $this->_params) ==
+ if (!empty($this->_params["{$filterName}_value"])
+ || !empty($this->_params["{$filterName}_relative"])
+ || CRM_Utils_Array::value("{$filterName}_op", $this->_params) ==
+ 'nll'
+ || CRM_Utils_Array::value("{$filterName}_op", $this->_params) ==
'nnll'
) {
$this->_selectedTables[] = $tableName;