From 96f08082a2ca3c372d84d196524fdb866587748a Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Tue, 26 Oct 2021 18:25:49 +0200 Subject: [PATCH] fix: getFilterSelectQuery get correct table --- htdocs/categories/class/categorie.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php index 3ddfaa4d92b..8d401ff5794 100644 --- a/htdocs/categories/class/categorie.class.php +++ b/htdocs/categories/class/categorie.class.php @@ -1963,6 +1963,12 @@ class Categorie extends CommonObject if ($type == 'bank_account') { $type = 'account'; } + if ($type == 'customer') { + $type = 'societe'; + } + if ($type == 'supplier') { + $type = 'fournisseur'; + } if (empty($searchList) && !is_array($searchList)) { return "";