From 9d08a96f3e5cceace2385def2cdb7169f6c673a0 Mon Sep 17 00:00:00 2001 From: Dan-Andrei Rotariu Date: Fri, 11 Nov 2022 18:06:48 +0000 Subject: [PATCH] Update MDVA-38346_2.4.1.patch fix on the patch outcome so that it permits alterations of the sales order grid without creating errors on any types of joins with sales_order or any other type of table that has create_at and updated_at --- patches/os/MDVA-38346_2.4.1.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/os/MDVA-38346_2.4.1.patch b/patches/os/MDVA-38346_2.4.1.patch index f42f01e4..fba4df7e 100644 --- a/patches/os/MDVA-38346_2.4.1.patch +++ b/patches/os/MDVA-38346_2.4.1.patch @@ -383,7 +383,7 @@ index 000000000000..3b9afb136b8b + } + } + -+ $fieldName = $subject->getConnection()->quoteIdentifier($field); ++ $fieldName = "main_table.".$subject->getConnection()->quoteIdentifier($field); + $condition = $subject->getConnection()->prepareSqlCondition($fieldName, $condition); + $subject->getSelect()->where($condition, null, Select::TYPE_CONDITION); +