From 67856a523a514e756b4450972bb92069ab1b3014 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 21 Feb 2024 23:37:02 +0100 Subject: [PATCH] Aggiunta informazione di creazione per campi delle viste --- modules/viste/fields.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/viste/fields.php b/modules/viste/fields.php index 07dde9959..32638eb1b 100755 --- a/modules/viste/fields.php +++ b/modules/viste/fields.php @@ -28,7 +28,7 @@ echo '
'; $key = 0; -$fields = $dbo->fetchArray('SELECT * FROM zz_views WHERE id_module='.prepare($record['id']).' ORDER BY `order` ASC'); +$fields = $dbo->fetchArray('SELECT * FROM zz_views WHERE id_module='.prepare($record['id']).' ORDER BY `order` ASC, updated_at DESC '); foreach ($fields as $key => $field) { $editable = !($field['default'] && $enable_readonly); @@ -38,7 +38,7 @@ foreach ($fields as $key => $field) {

'. tr('Campo in posizione _POSITION_', [ '_POSITION_' => $field['order'], - ]).' ('.$field['name'].') + ]).' ('.$field['name'].') '.Translator::timestampToLocale($field['created_at']).'