From: fomichev Date: Wed, 22 Apr 2026 07:43:55 +0000 (+0300) Subject: fix cache X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=04545fe5b55bb6f4ca0e21683c50aa081f3921c7;p=erp24_rep%2Fyii-erp24%2F.git fix cache --- 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())