[Zope3-checkins] CVS: Zope3/src/zope/app/browser/catalog - catalog.py:1.1.2.2
Anthony Baxter
anthony@interlink.com.au
Sat, 12 Jul 2003 04:41:21 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/catalog
In directory cvs.zope.org:/tmp/cvs-serv17013/browser/catalog
Modified Files:
Tag: melb-2003-content-catalog-branch
catalog.py
Log Message:
refreshing and clearing indexes now works (the 'refresh' and 'clear'
button on the advanced tab of the catalog.
searchResults now returns a generator (so it behaves like the old Z2
LazyCat, in that it only brings objects in when they're needed).
=== Zope3/src/zope/app/browser/catalog/catalog.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/catalog/catalog.py:1.1.2.1 Sat Jul 12 02:15:05 2003
+++ Zope3/src/zope/app/browser/catalog/catalog.py Sat Jul 12 04:40:47 2003
@@ -37,9 +37,11 @@
def clear(self):
self.context.clearIndexes()
+ self.request.response.redirect(".")
def reindex(self):
self.context.updateIndexes()
+ self.request.response.redirect(".")
class IndexAdding(Adding):
menu_id = 'catalog_index_menu'