Commit f5cf3574 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix the cache id for getResultColumnIds() method, that was same as...

fix the cache id for getResultColumnIds() method, that was same as getColumnIds's one, thus we sometimes got unexpected value from the cache.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40362 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71cfab8a
No related merge requests found
......@@ -1052,9 +1052,9 @@ class Catalog(Folder,
return result
@profiler_decorator
@transactional_cache_decorator('SQLCatalog.getColumnIds')
@transactional_cache_decorator('SQLCatalog.getResultColumnIds')
@profiler_decorator
@caching_instance_method(id='SQLCatalog.getColumnIds',
@caching_instance_method(id='SQLCatalog.getResultColumnIds',
cache_factory='erp5_content_long',
cache_id_generator=generateCatalogCacheId,
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment