From eee41436276bfc8dc29f053002a79f9366d89d4b Mon Sep 17 00:00:00 2001 From: Oleg Zhuk Date: Wed, 17 Jul 2024 14:42:30 +0200 Subject: [PATCH] fix: Sonar warning Unexpected string concatenation --- .../Scripts/blades/customerOrder-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VirtoCommerce.OrdersModule.Web/Scripts/blades/customerOrder-list.js b/src/VirtoCommerce.OrdersModule.Web/Scripts/blades/customerOrder-list.js index 97d2c554..1c139e73 100644 --- a/src/VirtoCommerce.OrdersModule.Web/Scripts/blades/customerOrder-list.js +++ b/src/VirtoCommerce.OrdersModule.Web/Scripts/blades/customerOrder-list.js @@ -120,7 +120,7 @@ angular.module('virtoCommerce.orderModule') }; $scope.filterBy = function(field, value) { - filter.keyword = field + ':"' + value + '"'; + filter.keyword = `${field}:"${value}"`; blade.refresh(); };