diff --git a/src/VirtoCommerce.Platform.Web/Controllers/Api/DynamicPropertiesController.cs b/src/VirtoCommerce.Platform.Web/Controllers/Api/DynamicPropertiesController.cs index 5ab5d8d6477..78f6562384e 100644 --- a/src/VirtoCommerce.Platform.Web/Controllers/Api/DynamicPropertiesController.cs +++ b/src/VirtoCommerce.Platform.Web/Controllers/Api/DynamicPropertiesController.cs @@ -240,8 +240,8 @@ public async Task DeleteProperty([FromRoute] string typeName, [Fro [Route("types/{typeName}/properties/{propertyId}/dictionaryitems")] public async Task> GetDictionaryItems([FromRoute] string typeName, [FromRoute] string propertyId) { - var result = await _dynamicPropertyDictionaryItemsSearchService.SearchDictionaryItemsAsync(new DynamicPropertyDictionaryItemSearchCriteria { PropertyId = propertyId, ObjectType = typeName }); - return Ok(result.Results); + var result = await _dynamicPropertyDictionaryItemsSearchService.SearchAllNoCloneAsync(new DynamicPropertyDictionaryItemSearchCriteria { PropertyId = propertyId, ObjectType = typeName }); + return Ok(result); } [ApiExplorerSettings(IgnoreApi = true)]