FIX Use requestVar() to include post vars as well as get vars

This commit is contained in:
Robbie Averill 2018-08-27 13:59:23 +12:00
parent 9e4be5b4f6
commit f3230c78d4

View File

@ -349,7 +349,7 @@ class Report extends ViewableData
if (Injector::inst()->has(HTTPRequest::class)) {
/** @var HTTPRequest $request */
$request = Injector::inst()->get(HTTPRequest::class);
$params = $request->param('filters') ?: $request->getVar('filters') ?: [];
$params = $request->param('filters') ?: $request->requestVar('filters') ?: [];
}
$items = $this->sourceRecords($params, null, null);