Changeset 3152 in products for quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/browser/mobilesitemapview.py
- Timestamp:
- Apr 20, 2011 8:20:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/browser/mobilesitemapview.py
r2742 r3152 2 2 from quintagroup.plonegooglesitemaps.browser.commonview import * 3 3 4 MOBILE_INTERFACES = ['quintagroup.mobileextender.interfaces.IMobile',] 4 MOBILE_INTERFACES = ['quintagroup.mobileextender.interfaces.IMobile', ] 5 5 6 6 7 class MobileSitemapView(CommonSitemapView): … … 11 12 12 13 additional_maps = ( 13 ('modification_date', lambda x: DateTime(x.ModificationDate).HTML4()),14 ('modification_date', lambda x: DateTime(x.ModificationDate).HTML4()), 14 15 ) 15 16 16 17 def getFilteredObjects(self): 17 18 return self.portal_catalog( 18 path =self.search_path,19 portal_type =self.context.getPortalTypes(),20 review_state =self.context.getStates(),21 object_provides =MOBILE_INTERFACES,19 path=self.search_path, 20 portal_type=self.context.getPortalTypes(), 21 review_state=self.context.getStates(), 22 object_provides=MOBILE_INTERFACES, 22 23 )
Note: See TracChangeset
for help on using the changeset viewer.