From edbb58e55eaad11ccb33ed6493740e60a0d25eed Mon Sep 17 00:00:00 2001 From: Gauthier PC portable 024 Date: Thu, 23 Mar 2023 09:43:30 +0100 Subject: [PATCH] FIX : full group by handle --- htdocs/product/list.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/product/list.php b/htdocs/product/list.php index cf5798bce7b..0145831d72a 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -600,6 +600,9 @@ $sql .= ' p.weight, p.weight_units, p.length, p.length_units, p.width, p.width_u if (!empty($conf->global->PRODUCT_USE_UNITS)) { $sql .= ', p.fk_unit, cu.label'; } +if (isModEnabled('workstation')) { + $sql .= ', p.fk_default_workstation, ws.status, ws.ref '; +} if (isModEnabled('variants') && (!empty($conf->global->PRODUIT_ATTRIBUTES_HIDECHILD) && !$show_childproducts)) { $sql .= ', pac.rowid';