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:
parent
ba2109c042
commit
54e1e961bf
@ -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) {
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user