Commit 3f089a78 authored by Andreas Jung's avatar Andreas Jung

- Collector #954: clear() method of TopicIndex removed all filter sets

       instead of clearing them.
parent ba71c58d
......@@ -71,6 +71,9 @@ Zope Changes
Bugs Fixed
- Collector #954: clear() method of TopicIndex removed all filter sets
instead of clearing them.
- Collector #939: Fixed typo in TopicIndexes
- Collector #937: UnicodeError exception available within PythonScripts
......
......@@ -11,7 +11,7 @@
#
##############################################################################
__version__ = '$Id: TopicIndex.py,v 1.12 2003/01/23 17:46:31 andreasjung Exp $'
__version__ = '$Id: TopicIndex.py,v 1.13 2003/06/23 08:45:58 andreasjung Exp $'
from Products.PluginIndexes import PluggableIndex
from Products.PluginIndexes.common.util import parseIndexRequest
......@@ -60,7 +60,9 @@ class TopicIndex(Persistent, Implicit, SimpleItem):
def clear(self):
""" clear everything """
self.filteredSets = OOBTree()
for fs in self.filteredSets.values():
fs.clear()
def index_object(self, documentId, obj ,threshold=100):
......
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