Commit 00de9e57 authored by Jérome Perrin's avatar Jérome Perrin

pass 'name' to the sql method for uniqueValuesFor


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14275 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ee621142
...@@ -1668,7 +1668,7 @@ class Catalog( Folder, ...@@ -1668,7 +1668,7 @@ class Catalog( Folder,
def uniqueValuesFor(self, name): def uniqueValuesFor(self, name):
""" return unique values for FieldIndex name """ """ return unique values for FieldIndex name """
method = getattr(self, self.sql_unique_values) method = getattr(self, self.sql_unique_values)
return method() return method(column=name)
def getPaths(self): def getPaths(self):
""" Returns all object paths stored inside catalog """ """ Returns all object paths stored inside catalog """
......
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