1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-25 23:33:02 +01:00

Fix minori

This commit is contained in:
Matteo 2024-03-07 16:34:23 +01:00
parent ba2109c042
commit 54e1e961bf
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class CampiPersonalizzati extends AppResource
{ {
$module = (new Module())->getByName('Interventi'); $module = (new Module())->getByName('Interventi');
$query = 'SELECT `zz_fields`.`id`, `zz_fields`.`updated_at` FROM `zz_fields` WHERE id_module='.prepare($module->id_record); $query = 'SELECT `zz_fields`.`id`, `zz_fields`.`updated_at` FROM `zz_fields` WHERE id_module='.prepare($module->id_record)." AND `content` LIKE '%text%'";
// Filtro per data // Filtro per data
if ($last_sync_at) { if ($last_sync_at) {

View File

@ -34,7 +34,7 @@ class CampiPersonalizzatiValori extends AppResource
$module = (new Module())->getByName('Interventi'); $module = (new Module())->getByName('Interventi');
$query = 'SELECT `zz_field_record`.`id`, `zz_field_record`.`updated_at` FROM `zz_field_record` INNER JOIN `zz_fields` ON `zz_field_record`.`id_field` = `zz_fields`.`id` WHERE id_module='.prepare($module->id_record); $query = 'SELECT `zz_field_record`.`id`, `zz_field_record`.`updated_at` FROM `zz_field_record` INNER JOIN `zz_fields` ON `zz_field_record`.`id_field` = `zz_fields`.`id` WHERE id_module='.prepare($module->id_record).' AND `zz_fields`.`content` LIKE "%text%"';
// Filtro per data // Filtro per data
if ($last_sync_at) { if ($last_sync_at) {