From 46570494a38ecbed80b1561386a69da1570f28a8 Mon Sep 17 00:00:00 2001 From: MichaelTkach94 <39167829+MichaelTkach94@users.noreply.github.com> Date: Thu, 28 Dec 2023 11:35:36 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B1=D0=B0=D0=B3=20=D1=81=20=D0=B4=D0=B2=D0=BE?= =?UTF-8?q?=D0=B9=D0=BD=D0=BE=D0=B9=20=D1=81=D0=B5=D1=80=D0=B8=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B5=D0=B9=20=D0=BF=D1=80=D0=B8?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D0=B8=20?= =?UTF-8?q?=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B0=20=D0=BF=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D0=B5=D0=B9=20(#331)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ intaro.retailcrm/description.ru | 2 +- intaro.retailcrm/install/version.php | 4 ++-- .../lib/component/apiclient/traits/customerstrait.php | 3 +-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c1f9057..1f7401ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2023-12-27 v.6.5.3 +- Исправлен баг с двойной сериализацией при получении списка пользователей + ## 2023-12-21 v.6.5.2 - Добавлена функциональность, позволяющая выгружать из CRM в Bitrix заказы с определенным способом оформления diff --git a/intaro.retailcrm/description.ru b/intaro.retailcrm/description.ru index 7ff564aa..3d75472c 100644 --- a/intaro.retailcrm/description.ru +++ b/intaro.retailcrm/description.ru @@ -1 +1 @@ -- Добавлена функциональность, позволяющая выгружать из CRM в Bitrix заказы с определенным способом оформления +- Исправлен баг с двойной сериализацией при получении списка пользователей diff --git a/intaro.retailcrm/install/version.php b/intaro.retailcrm/install/version.php index 7827679b..50a59857 100644 --- a/intaro.retailcrm/install/version.php +++ b/intaro.retailcrm/install/version.php @@ -1,6 +1,6 @@ '6.5.2', - 'VERSION_DATE' => '2023-12-21 17:30:00' + 'VERSION' => '6.5.3', + 'VERSION_DATE' => '2023-12-27 12:30:00' ]; diff --git a/intaro.retailcrm/lib/component/apiclient/traits/customerstrait.php b/intaro.retailcrm/lib/component/apiclient/traits/customerstrait.php index 4b0bc955..da3f3972 100644 --- a/intaro.retailcrm/lib/component/apiclient/traits/customerstrait.php +++ b/intaro.retailcrm/lib/component/apiclient/traits/customerstrait.php @@ -44,9 +44,8 @@ trait CustomersTrait */ public function customersList(CustomersListRequest $request): ?CustomersResponse { - $serialized = Serializer::serializeArray($request); $response = $this->client->customersList( - Serializer::serializeArray($serialized['filter'] ?? []), + Serializer::serializeArray($request->filter), $request->page, $request->limit );