Commit c05217d1 authored by Michel Pelletier's avatar Michel Pelletier

added uniqueValuesFor

parent c2bb9c7d
......@@ -161,6 +161,10 @@ class Catalog(Item):
__call__ = searchResults
def uniqueValuesFor(self, id):
""" return unique values for field index id """
return apply(self._ztable.uniqueValuesFor, (id,))
def data_column_names(self):
"""
......@@ -253,7 +257,6 @@ class Catalog(Item):
record['description'] = obj.description
record['summary'] = obj.summary
record['reviewed'] = obj.reviewed
print '_get_record: %s' % record
return record
......
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