Commit 59a07ca1 authored by Vincent Pelletier's avatar Vincent Pelletier

Another type mistake: this returns a dict, so use .copy().


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24936 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0ed8ae63
...@@ -1708,7 +1708,7 @@ class Catalog(Folder, ...@@ -1708,7 +1708,7 @@ class Catalog(Folder,
%(table_index, table)) %(table_index, table))
return table_index return table_index
return CachingMethod(_getTableIndex, id='SQLCatalog.getTableIndex', \ return CachingMethod(_getTableIndex, id='SQLCatalog.getTableIndex', \
cache_factory='erp5_content_long')(table=table)[:] cache_factory='erp5_content_long')(table=table).copy()
def getIndex(self, table, column_list, all_column_list): def getIndex(self, table, column_list, all_column_list):
......
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