Fixed html_print_autocomplete_modules

This commit is contained in:
danielmaya 2018-10-10 18:02:10 +02:00
parent 496f99e42f
commit 4ac4f46daf
2 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,7 @@ if ($search_modules) {
$other_filter = json_decode(io_safe_output(get_parameter('other_filter')), true);
// TODO TAGS agents_get_modules
$modules = agents_get_modules($id_agents, false,
(array('nombre' => $filter) + $other_filter));
(array('tagente_modulo.nombre' => $filter) + $other_filter));
if ($modules === false) $modules = array();

View File

@ -345,7 +345,8 @@ $table->data[0][6] = html_print_submit_button (__('Show'), 'uptbutton',
false, 'class="sub search" style="margin-top:0px;"',true);
$table->data[1][0] = __('Module name');
$table->data[1][1] = html_print_input_text ('ag_modulename', $ag_modulename, '', 35, 50, true);
$table->data[1][1] = html_print_autocomplete_modules('ag_modulename',
$ag_modulename, false, true, '', array(), true);
$table->data[1][2] = __('Search');
$table->data[1][3] = html_print_input_text ('ag_freestring', $ag_freestring, '', 20, 30, true);