Skip to content

Commit

Permalink
Set database target in col1 container not in col2
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Sep 6, 2023
1 parent aa86f47 commit e7e0850
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion application/controllers/ReportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,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');
Expand Down
1 change: 1 addition & 0 deletions application/controllers/ReportsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e7e0850

Please sign in to comment.