From 04545fe5b55bb6f4ca0e21683c50aa081f3921c7 Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 22 Apr 2026 10:43:55 +0300 Subject: [PATCH] fix cache --- erp24/services/ProductMappingService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/services/ProductMappingService.php b/erp24/services/ProductMappingService.php index 950b9975..42eabbd5 100644 --- a/erp24/services/ProductMappingService.php +++ b/erp24/services/ProductMappingService.php @@ -134,7 +134,7 @@ class ProductMappingService */ public function getCascadeFilters(?string $category = null, ?string $subcategory = null): array { - $cacheKey = 'pm_cascade_filters_' . md5((string)$category . '|' . (string)$subcategory); + $cacheKey = 'pm_cascade_filters_v2_' . md5((string)$category . '|' . (string)$subcategory); return Yii::$app->cache->getOrSet($cacheKey, function () use ($category, $subcategory) { $categories = (new Query()) -- 2.39.5