From 87c4ed00a35ee64f33b8aaac9e13d21442ee98b0 Mon Sep 17 00:00:00 2001 From: splohmer <113967431+splohmer@users.noreply.github.com> Date: Wed, 8 Oct 2025 10:39:18 +0200 Subject: [PATCH] FIX not possible to search for billed and not billed supplier orders in the list (#35680) * FIX not possible to search for billed and not billed supplier orders in the list as the current implemenation the $billed var can be either 0 or 1 but cannot be empty if both should be searched. This prevents searching an supplier order through the general search functionality as it finds only not yet billed orders. * Update list.php --------- Co-authored-by: Laurent Destailleur --- htdocs/fourn/commande/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/commande/list.php b/htdocs/fourn/commande/list.php index 29b5334d860..70837ee7fc3 100644 --- a/htdocs/fourn/commande/list.php +++ b/htdocs/fourn/commande/list.php @@ -134,7 +134,7 @@ $search_multicurrency_montant_ht = GETPOST('search_multicurrency_montant_ht', 'a $search_multicurrency_montant_tva = GETPOST('search_multicurrency_montant_tva', 'alpha'); $search_multicurrency_montant_ttc = GETPOST('search_multicurrency_montant_ttc', 'alpha'); $optioncss = GETPOST('optioncss', 'alpha'); -$billed = GETPOSTINT('billed'); +$billed = GETPOST('billed', 'int'); // Value '' must be possible $search_project_ref = GETPOST('search_project_ref', 'alpha'); $search_btn = GETPOST('button_search', 'alpha'); $search_remove_btn = GETPOST('button_removefilter', 'alpha');