Changeset 1916


Ignore:
Timestamp:
17 Jun 2007, 16:51:53 (17 years ago)
Author:
Henrik Bettermann
Message:

enable catalog clearing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTables.py

    r1845 r1916  
    4949    meta_type = 'Catalog Tool Real'
    5050    name = id = "portal_catalog_real"
    51    
     51
    5252
    5353class WAeUPTable(ZCatalog): ###(
     
    6666    def manage_catalogClear(self, REQUEST=None, RESPONSE=None, URL1=None):
    6767        """ clears the whole enchilada """
    68         #self._catalog.clear()
    69 
     68       
     69        #if REQUEST and RESPONSE:
     70        #    RESPONSE.redirect(
     71        #      URL1 +
     72        #      '/manage_catalogAdvanced?manage_tabs_message=Catalog%20Clearing%20disabled')
     73
     74
     75        self._catalog.clear()
    7076        if REQUEST and RESPONSE:
    7177            RESPONSE.redirect(
    7278              URL1 +
    73               '/manage_catalogAdvanced?manage_tabs_message=Catalog%20Clearing%20disabled')
     79              '/manage_catalogAdvanced?manage_tabs_message=Catalog%20cleared')
    7480
    7581    def addRecord(self, **data):
Note: See TracChangeset for help on using the changeset viewer.