mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge remote-tracking branch 'origin/3.2' into 3
# Conflicts: # .travis.yml # composer.json
This commit is contained in:
commit
fb3083688e
@ -66,7 +66,13 @@ class SS_Report extends ViewableData {
|
|||||||
public static $excluded_reports = array(
|
public static $excluded_reports = array(
|
||||||
'SS_Report',
|
'SS_Report',
|
||||||
'SS_ReportWrapper',
|
'SS_ReportWrapper',
|
||||||
'SideReportWrapper'
|
'SideReportWrapper',
|
||||||
|
'SideReport_RecentlyEdited', // @deprecated 3.2..4.0
|
||||||
|
'SideReport_EmptyPages', // @deprecated 3.2..4.0
|
||||||
|
'SideReport_BrokenVirtualPages', // @deprecated 3.2..4.0
|
||||||
|
'SideReport_BrokenRedirectorPages', // @deprecated 3.2..4.0
|
||||||
|
'SideReport_BrokenLinks', // @deprecated 3.2..4.0
|
||||||
|
'SideReport_BrokenFiles' // @deprecated 3.2..4.0
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -105,7 +111,7 @@ class SS_Report extends ViewableData {
|
|||||||
*/
|
*/
|
||||||
public function sourceQuery($params) {
|
public function sourceQuery($params) {
|
||||||
if($this->hasMethod('sourceRecords')) {
|
if($this->hasMethod('sourceRecords')) {
|
||||||
return $this->sourceRecords()->dataQuery();
|
return $this->sourceRecords($params, null, null)->dataQuery();
|
||||||
} else {
|
} else {
|
||||||
user_error("Please override sourceQuery()/sourceRecords() and columns() or, if necessary, override getReportField()", E_USER_ERROR);
|
user_error("Please override sourceQuery()/sourceRecords() and columns() or, if necessary, override getReportField()", E_USER_ERROR);
|
||||||
}
|
}
|
||||||
|
@ -1,23 +1,30 @@
|
|||||||
{
|
{
|
||||||
"name": "silverstripe/reports",
|
"name": "silverstripe/reports",
|
||||||
"type": "silverstripe-module",
|
"type": "silverstripe-module",
|
||||||
|
"description": "Reports module for SilverStripe CMS",
|
||||||
"homepage": "http://silverstripe.org",
|
"homepage": "http://silverstripe.org",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"keywords": ["silverstripe", "cms", "reports"],
|
"keywords": ["silverstripe", "cms", "reports"],
|
||||||
"authors": [{
|
"authors": [
|
||||||
|
{
|
||||||
"name": "SilverStripe",
|
"name": "SilverStripe",
|
||||||
"homepage": "http://silverstripe.com"
|
"homepage": "http://silverstripe.com"
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"name": "The SilverStripe Community",
|
"name": "The SilverStripe Community",
|
||||||
"homepage": "http://silverstripe.org"
|
"homepage": "http://silverstripe.org"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3",
|
"php": ">=5.3.3",
|
||||||
"silverstripe/framework": ">=3.1.x-dev"
|
"silverstripe/framework": "~3.3"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"3.x-dev": "3.3.x-dev"
|
"3.x-dev": "3.3.x-dev"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/PHPUnit": "~3.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user