3

We recevently update to 4.7.2 and this seems to have broken something in the API regarding the BETWEEN operator.

This used to work:

$result = civicrm_api3('Contribution', 'get', array(
  'sequential' => 1,
  'receive_date' => array('BETWEEN' => array("2015-10-01", "2015-12-31")),
));

Now it returns no results. However less than and likewise operators return correct results.

Is it a bug or am I using it wrong?

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.