Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
3f089a78
Commit
3f089a78
authored
Jun 23, 2003
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Collector #954: clear() method of TopicIndex removed all filter sets
instead of clearing them.
parent
ba71c58d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
+4
-2
No files found.
doc/CHANGES.txt
View file @
3f089a78
...
...
@@ -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
...
...
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
View file @
3f089a78
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Id: TopicIndex.py,v 1.1
2 2003/01/23 17:46:31
andreasjung Exp $'
__version__
=
'$Id: TopicIndex.py,v 1.1
3 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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment