Commit 5580a453 authored by Guido van Rossum's avatar Guido van Rossum

Implement getIndexSourceNames() correctly.

parent da4af40a
......@@ -216,8 +216,8 @@ class ZCTextIndex(Persistent, Acquisition.Implicit, SimpleItem):
manage_main = DTMLFile('dtml/manageZCTextIndex', globals())
def getIndexSourceNames(self):
""" return name of indexed attributes """
return (self.id, )
"""Return sequence of names of indexed attributes"""
return [self._fieldname]
def getIndexType(self):
"""Return index type string"""
......
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