Changeset 2375


Ignore:
Timestamp:
05/09/08 15:58:00 (12 years ago)
Author:
jukka
Message:

Fixed #1693, order of published stuff. Missing/bad catalog entries should be fixed already.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LargeSectionFolder.py

    r2374 r2375  
    5959 
    6060    security.declareProtected(MANAGE_PORTAL, 'reindex_section') 
    61     def reindex_section(self, start=0, end=0, subsection=None): 
     61    def reindex_section(self, start=0, end=0, obj=None): 
    6262        """ Do catalog update for every object in section """ 
    6363        f=0 
  • trunk/LeMillTool.py

    r2374 r2375  
    10511051        pcatalog = getToolByName(self, 'portal_catalog') 
    10521052 
    1053         if kw.get('sort_on', '')=='getLatestEdit': # 'Blog style' results shouldn't be limited by language 
     1053        if kw.get('sort_on', '')=='getLatestEdit' and not kw.has_key('Creator'): # 'Blog style' results shouldn't be limited by language 
    10541054            results=pcatalog.searchResults(REQUEST, **kw) 
    10551055            return results 
     
    12651265                pc.uncatalog_object(pc.getpath(md_obj.getRID())) 
    12661266                removed+=1 
    1267         print '%s\nRemoved %s bad catalog objects' % (response, str(removed)) 
     1267        response='%s\nRemoved %s bad catalog objects' % (response, str(removed)) 
    12681268        if output: print response 
    12691269        return response 
Note: See TracChangeset for help on using the changeset viewer.