Merge pull request #27740 from MaximilienR-easya/14.0_Fix_expedition_filter

Fix expedition list filter on product category
This commit is contained in:
Laurent Destailleur 2024-01-23 17:14:03 +01:00 committed by GitHub
commit 18b896f034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -546,7 +546,7 @@ if (!empty($conf->categorie->enabled) && $user->rights->categorie->lire && ($use
$moreforfilter .= img_picto($tmptitle, 'category');
//$cate_arbo = $form->select_all_categories(Categorie::TYPE_PRODUCT, null, 'parent', null, null, 1);
//$moreforfilter .= $form->selectarray('search_product_category', $cate_arbo, $search_product_category, 1, 0, 0, '', 0, 0, 0, 0, 'maxwidth300', 1);
$moreforfilter .= $formother->select_categories(Categorie::TYPE_PRODUCT, $search_product_category, 'parent', 1, $tmptitle);
$moreforfilter .= $formother->select_categories(Categorie::TYPE_PRODUCT, $search_product_category, 'search_product_category', 1, $tmptitle);
$moreforfilter .= '</div>';
}