Merge branch 'ent-6994-cambiar-el-orden-de-los-items-de-un-template-en-iformes-no-funciona' into 'develop'
unsort template items See merge request artica/pandorafms!3810
This commit is contained in:
commit
8b817c63c7
pandora_console/include
|
@ -189,6 +189,14 @@ function reporting_make_reporting_data(
|
|||
|
||||
$metaconsole_on = is_metaconsole();
|
||||
$index_content = 0;
|
||||
|
||||
usort(
|
||||
$contents,
|
||||
function ($a, $b) {
|
||||
return ($a['order'] <=> $b['order']);
|
||||
}
|
||||
);
|
||||
|
||||
foreach ($contents as $content) {
|
||||
$content['name'] = io_safe_input($content['name']);
|
||||
$content['description'] = io_safe_input($content['description']);
|
||||
|
|
Loading…
Reference in New Issue