Add hook printFieldListSearchParam on project list (#26214)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
thomas-Ngr 2023-10-15 20:20:08 +02:00 committed by GitHub
parent 2dc351457d
commit 17d288dd29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1005,6 +1005,11 @@ foreach ($searchCategoryCustomerList as $searchCategoryCustomer) {
// Add $param from extra fields
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php';
// Add $param from hooks
$parameters = array();
$reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
$param .= $hookmanager->resPrint;
// List of mass actions available
$arrayofmassactions = array(
'validate'=>img_picto('', 'check', 'class="pictofixedwidth"').$langs->trans("Validate"),