Changeset 2656 in products for quintagroup.blog.star/trunk/quintagroup/blog/star/browser
- Timestamp:
- Jul 9, 2010 2:45:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.blog.star/trunk/quintagroup/blog/star/browser/blog.py
r2652 r2656 2 2 from Products.CMFCore.utils import getToolByName 3 3 from Products.CMFPlone.PloneBatch import Batch 4 from collective.blog.view.interfaces import IBlogEntryRetriever4 from quintagroup.blog.star.interfaces import IQGBlogEntryRetriever 5 5 try: 6 6 from plone.app.discussion.interfaces import IConversation … … 24 24 year = int(self.request.form.get('year',0)) 25 25 month = int(self.request.form.get('month',0)) 26 return IBlogEntryRetriever(self.context).get_entries(year=year, month=month) 26 subject = list(self.request.form.get('Subject','')) 27 return IQGBlogEntryRetriever(self.context).get_entries( 28 year=year, month=month, Subject=subject) 27 29 28 30 def batch(self):
Note: See TracChangeset
for help on using the changeset viewer.