Ignore:
Timestamp:
Aug 2, 2012 10:27:12 AM (12 years ago)
Author:
potar
Message:

modified query to portal_catalog; changed additional_maps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/branches/sitemap_date/quintagroup/plonegooglesitemaps/browser/sitemapview.py

    r3163 r3485  
    1111 
    1212    additional_maps = ( 
    13         ('modification_date', lambda x: DateTime(x.ModificationDate).HTML4()), 
     13        ('modification_date', 
     14         lambda x: x.sitemap_date or DateTime(x.ModificationDate).HTML4()), 
    1415    ) 
    1516 
     
    1819            path=self.search_path, 
    1920            portal_type=self.context.getPortalTypes(), 
    20             review_state=self.context.getStates() 
     21            review_state=self.context.getStates(), 
     22            is_default_page=False 
    2123            ) 
Note: See TracChangeset for help on using the changeset viewer.