Compare commits
No commits in common. "c78abaebd55db69adfd835924503104a652d9d34" and "a57e6db9b8ec912d2e8c42f11d584b9ef4ba7020" have entirely different histories.
c78abaebd5
...
a57e6db9b8
|
@ -160,7 +160,6 @@ switch (post('op')) {
|
|||
if (!empty($elementi)) {
|
||||
$dbo->query('UPDATE `mg_articoli` SET `deleted_at` = NOW() WHERE `id` = '.prepare($id).Modules::getAdditionalsQuery($id_module));
|
||||
} else {
|
||||
$dbo->query('DELETE FROM `mg_prezzi_articoli` WHERE `id_articolo` = '.prepare($id));
|
||||
$dbo->query('DELETE FROM `mg_articoli` WHERE `id` = '.prepare($id).Modules::getAdditionalsQuery($id_module));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ class Interventi extends Resource implements RetrieveInterface, CreateInterface,
|
|||
'in_interventi.*',
|
||||
'MAX(in_interventi_tecnici.orario_fine) as data',
|
||||
'GROUP_CONCAT(DISTINCT b.ragione_sociale SEPARATOR \', \') AS tecnici',
|
||||
'in_statiintervento_lang.title AS stato',
|
||||
'in_statiintervento_lang.name AS stato',
|
||||
];
|
||||
|
||||
$joins[] = [
|
||||
|
|
Loading…
Reference in New Issue