Changeset 3510 in products for quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/browser/newssitemapview.py
- Timestamp:
- Aug 22, 2012 10:22:22 AM (12 years ago)
- Location:
- quintagroup.plonegooglesitemaps/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/trunk
- Property svn:mergeinfo
-
old new 3 3 /quintagroup.plonegooglesitemaps/branches/migratioin_product:2826-2839 4 4 /quintagroup.plonegooglesitemaps/branches/plone4:2549-2553 5 /quintagroup.plonegooglesitemaps/branches/sitemap_date:3481-3509 5 6 /quintagroup.plonegooglesitemaps/branches/test_refactoring:2527-2536
-
- Property svn:mergeinfo
-
quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/browser/newssitemapview.py
r3163 r3510 21 21 22 22 return ( 23 ('publication_date', lambda x: x.Date and \24 23 ('publication_date', 24 lambda x: x.Date and formatDate(x.Date) or ""), 25 25 ('keywords', lambda x: x.Subject and ', '.join(x.Subject) or ""), 26 26 ('title', lambda x: x.Title or x.getId or x.id), 27 ('name', lambda x: x.Title and \28 27 ('name', lambda x: x.Title and 28 reTrailingParenthtical.sub("", x.Title) or ""), 29 29 ('language', lambda x: x.Language or self.default_language()), 30 30 ('access', lambda x: x.gsm_access or ""), 31 ('genres', lambda x: x.gsm_genres and \32 31 ('genres', lambda x: x.gsm_genres and 32 ", ".join(x.gsm_genres) or ""), 33 33 ('stock', lambda x: x.gsm_stock or ""), 34 34 ) … … 47 47 review_state=self.context.getStates(), 48 48 effective={"query": min_date, 49 "range": "min"} 50 ) 49 "range": "min"}, 50 is_default_page=False 51 )
Note: See TracChangeset
for help on using the changeset viewer.