[Zope-Checkins] SVN: Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml - show only the indexSize() which is implemented as BTree.Length() instance

Andreas Jung andreas at andreas-jung.com
Tue Feb 1 09:58:49 EST 2005


Log message for revision 29009:
  - show only the indexSize() which is implemented as BTree.Length() instance
  - len(self._unindex) as used in numObjects() might take too long
  

Changed:
  U   Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml

-=-
Modified: Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml
===================================================================
--- Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml	2005-02-01 14:53:34 UTC (rev 29008)
+++ Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml	2005-02-01 14:58:49 UTC (rev 29009)
@@ -103,17 +103,7 @@
    ><strong>Index type</strong><dtml-else>Index type</dtml-if></a></div>
   </td>
 
-  <td width="10%" align="left"><div class="list-item"><a 
-   href="./manage_catalogIndexes?skey=numObjects<dtml-if 
-   "rkey == ''">&rkey=numObjects</dtml-if
-   >"
-   onMouseOver="window.status='Sort objects by number of indexed objects'; return true"
-   onMouseOut="window.status=''; return true"><dtml-if 
-   "skey == 'numObjects' or rkey == 'numObjects'"
-   ><strong># objects</strong><dtml-else># objects</dtml-if></a></div>
-  </td>
-
-  <td width="10%" align="left"><div class="list-item"><a 
+  <td width="20%" align="left"><div class="list-item"><a 
    href="./manage_catalogIndexes?skey=indexSize<dtml-if 
    "rkey == ''">&rkey=indexSize</dtml-if
    >"
@@ -179,12 +169,6 @@
 
     <td>
       <div class="list-item">
-        <dtml-var numObjects missing="n/a">
-      </div>
-    </td>
-
-    <td>
-      <div class="list-item">
         <dtml-var indexSize missing="n/a">
       </div>
     </td>
@@ -199,6 +183,7 @@
 
 </tr>
 </dtml-in>
+
 </table>
 
 <table cellspacing="0" cellpadding="2" border="0">



More information about the Zope-Checkins mailing list