[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/common - UnIndex.py:1.3.4.3

Andreas Jung andreas@digicool.com
Thu, 11 Apr 2002 14:46:54 -0400


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/common
In directory cvs.zope.org:/tmp/cvs-serv20129/lib/python/Products/PluginIndexes/common

Modified Files:
      Tag: Zope-2_4-branch
	UnIndex.py 
Log Message:

      - Collector #343: The ZCatalogs 'Indexes' view showed the 
        wrong number of indexed objects for FieldIndexes.


=== Zope/lib/python/Products/PluginIndexes/common/UnIndex.py 1.3.4.2 => 1.3.4.3 ===
     def numObjects(self):
         """ return number of indexed objects """
-        return len(self._index)
+        return len(self._unindex)
 
 
     def unindex_object(self, documentId):