N°9185 - XML dashboard format should be in the new format when user exports its dashboard

This commit is contained in:
Eric Espie
2026-02-03 11:53:49 +01:00
parent 0b17e1f9b3
commit a1d5acadf8
2 changed files with 104 additions and 3 deletions

View File

@@ -47,13 +47,15 @@ class DashboardLayoutGrid extends \DashboardLayout
}
/**
*
*
* @inheritDoc
*/
public function GetDashletCoordinates($iCellIdx)
{
$iColNumber = $iCellIdx % 12;
$iRowNumber = (int)floor($iCellIdx / 12);
$iRowNumber = $iCellIdx % 12;
$iColumnNumber = (int)floor($iCellIdx / 12);
return [$iColNumber, $iRowNumber];
return [$iColumnNumber, $iRowNumber];
}
}