Commit 6b94ad72 authored by Andreas Jung's avatar Andreas Jung

- Collector #343: The ZCatalogs 'Indexes' view showed the

        wrong number of indexed objects for FieldIndexes.
parent a83d380c
...@@ -167,6 +167,10 @@ Zope Changes ...@@ -167,6 +167,10 @@ Zope Changes
- Collector #373: content_type property for Image objects - Collector #373: content_type property for Image objects
are no longer deletable to prevent malfunction. are no longer deletable to prevent malfunction.
- Collector #343: The ZCatalogs 'Indexes' view showed the
wrong number of indexed objects for FieldIndexes.
Zope 2.5.1 beta 1 Zope 2.5.1 beta 1
Bugs Fixed Bugs Fixed
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"""Simple column indices""" """Simple column indices"""
__version__='$Revision: 1.9 $'[11:-2] __version__='$Revision: 1.10 $'[11:-2]
from Globals import Persistent from Globals import Persistent
from Acquisition import Implicit from Acquisition import Implicit
...@@ -254,7 +254,7 @@ class UnIndex(Persistent, Implicit): ...@@ -254,7 +254,7 @@ class UnIndex(Persistent, Implicit):
def numObjects(self): def numObjects(self):
""" return number of indexed objects """ """ return number of indexed objects """
return len(self._index) return len(self._unindex)
def unindex_object(self, documentId): def unindex_object(self, documentId):
......
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