#12943 fixed inventory filter

This commit is contained in:
Daniel Cebrian 2024-02-26 15:08:08 +01:00
parent bfee610b4f
commit 293bb5c2fe
1 changed files with 1 additions and 1 deletions

View File

@ -982,7 +982,7 @@ function get_data_basic_info_sql($params, $count=false)
$groupby = '';
if ($count !== true) {
$fields = '*';
$fields = 'tagente.*, tagent_secondary_group.*, tagent_custom_data.*';
$innerjoin = 'LEFT JOIN tagente_estado ON '.$table.'.id_agente = tagente_estado.id_agente ';
$innerjoin .= 'LEFT JOIN tagent_secondary_group ON '.$table.'.id_agente = tagent_secondary_group.id_agent ';
$innerjoin .= 'LEFT JOIN tagent_custom_data ON '.$table.'.id_agente = tagent_custom_data.id_agent ';