From bef008a37af8cd7dfa119e0a16f91f12bca13566 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Thu, 24 Aug 2023 13:30:36 +0200 Subject: [PATCH] Set database target in `col1` container not in `col2` --- application/controllers/ReportController.php | 1 - application/controllers/ReportsController.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/ReportController.php b/application/controllers/ReportController.php index 40aa115..58af292 100644 --- a/application/controllers/ReportController.php +++ b/application/controllers/ReportController.php @@ -50,7 +50,6 @@ public function init() public function indexAction() { - $this->getTabs()->getAttributes()->set('data-base-target', '_main'); $this->addTitleTab($this->report->getName()); $this->controls->getAttributes()->add('class', 'default-layout'); diff --git a/application/controllers/ReportsController.php b/application/controllers/ReportsController.php index 6baa7fe..4d1b05f 100644 --- a/application/controllers/ReportsController.php +++ b/application/controllers/ReportsController.php @@ -24,6 +24,7 @@ class ReportsController extends Controller public function indexAction() { $this->createTabs()->activate('reports'); + $this->getTabs()->getAttributes()->set('data-base-target', '_main'); if ($this->hasPermission('reporting/reports')) { $this->addControl(new ButtonLink(