Merge pull request #15912 from atm-jpb/12.0_fix_cat_product_list

FIX : add categories params  on llxHeader filter
This commit is contained in:
Laurent Destailleur 2021-01-06 19:38:57 +01:00 committed by GitHub
commit 99066eaf5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -466,7 +466,11 @@ if ($resql)
}
}
llxHeader('', $title, $helpurl, '');
foreach ($searchCategoryProductList as $searchCategoryProduct) {
$paramsCat .= "&search_category_product_list[]=".urlencode($searchCategoryProduct);
}
llxHeader('', $title, $helpurl, '', 0, 0, "", "", $paramsCat);
// Displays product removal confirmation
if (GETPOST('delprod')) {