diff --git a/htdocs/product/composition/card.php b/htdocs/product/composition/card.php index 79120aa1191..317e142ab46 100644 --- a/htdocs/product/composition/card.php +++ b/htdocs/product/composition/card.php @@ -511,7 +511,8 @@ if ($id > 0 || ! empty($ref)) { require_once DOL_DOCUMENT_ROOT . '/categories/class/categorie.class.php'; print '
'.$langs->trans("CategoryFilter").': '; - print $form->select_all_categories(Categorie::TYPE_PRODUCT, $parent).'  
'; + print $form->select_all_categories(Categorie::TYPE_PRODUCT, $parent, 'parent').'   '; + print ajax_combobox('parent'); } print '
'; print '';