Merge pull request #1050 from brayanpereyra/BUG-10084

BUG 10084 I added to view for news dashlets SOLVED
This commit is contained in:
julceslauhub
2012-12-05 07:33:03 -08:00

View File

@@ -69,6 +69,17 @@ class Dashboard extends Controller
$dashletsShow['2'][] = $dashletsExist[$listDashletAux[$value]];
}
}
$orderCol = 0;
foreach ($listDashletAux as $key => $value) {
if (!(in_array($key, $listDashletAuxShow))) {
$dashletsShow[$orderCol][] = $dashletsExist[$value];
$orderCol++;
if ($orderCol == 3) {
$orderCol = 0;
}
}
}
} else {
$col = 0;
foreach ($dashletsExist as $value) {