Update modules/monitoring/application/controllers/ListController.php

use form value for object type, as suggested

Co-Authored-By: Jennifer Mourek <jennifer.mourek@netways.de>
This commit is contained in:
mdetrano 2019-05-22 13:28:47 -06:00 committed by GitHub
parent 9470268f50
commit 2ecfcd2860
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ class ListController extends Controller
);
$orientationBox->applyRequest($this->getRequest());
*/
$objectType = $this->getParam('objecttype', 'services');
$objectType = $form->getValue('objecttype');
$from = $form->getValue('from');
$query = $this->backend->select()->from(
'eventgrid' . $objectType,