I'm trying to create a view that will tell our logged-in Drupal users when their next scheduled contribution is slated to happen. Everything is working well until I add the field "CiviCRM Recurring Contributions: Next Contribution Date". When that happens, my preview gives the error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'civicrm_contribution_recur.next_sched_contribution' in 'field list'
The Views SQL query shows this field being called:
civicrm_contribution_recur.next_sched_contribution AS civicrm_contribution_recur_next_sched_contribution
That is the correct table, but the field name is incorrect. It should be next_sched_contribution_date
. I've tried searching in the CiviCRM Entity Github repo, but I can't find where the (incorrect) field name is being generated. Where would I look to find the error? Or am I looking in the wrong place entirely and it's not a CiviCRM Entity issue at all? I want to help, I just don't know where to correct it.
We're using Drupal 7, CiviCRM 4.6.21, CiviCRM Entity module 7.x-2.0-beta3. The type of view is "CiviCRM Recurring Contribution profile."