}
$query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause("case_activity.status_id", $op, $value, 'Int');
- $query->_qill[$grouping][] = ts("Activity Type %1 %2", [1 => $op, 2 => $names]);
+ $query->_qill[$grouping][] = ts("Activity Status %1 %2", [1 => $op, 2 => $names]);
$query->_tables['case_activity'] = $query->_whereTables['case_activity'] = 1;
$query->_tables['civicrm_case'] = $query->_whereTables['civicrm_case'] = 1;
$query->_tables['case_activity_status'] = 1;
* CRM-17120 check the qill is still calculated after changing function used
* to retrieve function.
*
- * Note that the Qill doesn't actually appear to have the correct labels to
- * start with. I didn't attempt to fix that. I just prevented regression.
- *
* I could not find anyway to actually do this search with the relevant fields
* as parameters & don't know if they exist as legitimate code or code cruft so
* this test was the only way I could verify the change.
$this->assertEquals(
[
0 => 'Activity Type = Contribution',
- 1 => 'Activity Type = Scheduled',
+ 1 => 'Activity Status = Scheduled',
2 => 'Activity Medium = In Person',
],
$queryObj->_qill[1]