silverstripe/silverstripe-cms — pull request #1080 by jedateach (2014-08-13 06:23:51+00:00)
Title: FIX: allow creating SS_Reports with sourceQuery, instead of only sourceRecords

The code suggests that you can implement either `sourceQuery` or `sourceRecords`:
Report.php line 112: "Please override sourceQuery()/sourceRecords()"

This PR fixes things so that you can in fact do that. Does not break backwards compatibility.