From 0117585c907c3b6e843746dc6645f360da91f1ac Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Thu, 24 Apr 2025 12:26:06 +0200 Subject: [PATCH 1/4] FIX do not add a filter on status when doing a global search on project --- htdocs/projet/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index 7d5412ddf9e..825ab376dfe 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -201,7 +201,7 @@ if (isModEnabled('category')) { if (GETPOSTISARRAY('search_status') || GETPOST('search_status_multiselect')) { $search_status = implode(',', GETPOST('search_status', 'array:intcomma')); } else { - $search_status = (GETPOST('search_status', 'intcomma') != '' ? GETPOST('search_status', 'intcomma') : '0,1'); + $search_status = (GETPOST('search_status', 'intcomma') != '' ? GETPOST('search_status', 'intcomma') : (GETPOSTISSET('search_all') ? '' : '0,1')); } $search_option = GETPOST('search_option', 'alpha'); From 83e03fa39b25aa4f3c30818c44bd804566351827 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Thu, 24 Apr 2025 13:44:42 +0200 Subject: [PATCH 2/4] Fix css --- htdocs/compta/facture/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index 927045d36fb..61e5caf6fd4 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -5685,7 +5685,7 @@ if ($action == 'create') { print ''; print ''; - print '


'; + print '

'; if (getDolGlobalString('MAIN_DISABLE_CONTACTS_TAB')) { $blocname = 'contacts'; From 7df7e737750e27303b5632cc7e3d262c8a2e27bc Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Thu, 24 Apr 2025 16:57:36 +0200 Subject: [PATCH 3/4] Fix css --- htdocs/compta/paiement/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/paiement/list.php b/htdocs/compta/paiement/list.php index 11afdf10d2d..38e914742b6 100644 --- a/htdocs/compta/paiement/list.php +++ b/htdocs/compta/paiement/list.php @@ -743,7 +743,7 @@ while ($i < $imaxinloop) { // Payment type if (!empty($arrayfields['c.libelle']['checked'])) { - print ''.$langs->trans("PaymentTypeShort".$objp->paiement_code).''; + print 'paiement_code)).'">'.dolPrintHTML($langs->trans("PaymentTypeShort".$objp->paiement_code)).''; if (!$i) { $totalarray['nbfield']++; } From ed66c5a4535786229b6028ee9c044fa0aeee0bd5 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Thu, 24 Apr 2025 17:00:25 +0200 Subject: [PATCH 4/4] Fix typo --- htdocs/compta/paiement/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/paiement/list.php b/htdocs/compta/paiement/list.php index 38e914742b6..2a4a079b8c2 100644 --- a/htdocs/compta/paiement/list.php +++ b/htdocs/compta/paiement/list.php @@ -743,7 +743,7 @@ while ($i < $imaxinloop) { // Payment type if (!empty($arrayfields['c.libelle']['checked'])) { - print 'paiement_code)).'">'.dolPrintHTML($langs->trans("PaymentTypeShort".$objp->paiement_code)).''; + print 'paiement_code)).'">'.dolPrintHTML($langs->trans("PaymentTypeShort".$objp->paiement_code)).''; if (!$i) { $totalarray['nbfield']++; }