]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
fix cache
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 22 Apr 2026 07:43:55 +0000 (10:43 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 22 Apr 2026 07:43:55 +0000 (10:43 +0300)
erp24/services/ProductMappingService.php

index 950b99757be7c2fe90ac91374bde463833f4ddab..42eabbd53e7541a76600b44392b6e7920ae3f388 100644 (file)
@@ -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())