Ignore:
Timestamp:
Jul 9, 2010 2:45:51 PM (14 years ago)
Author:
chervol
Message:

#27: Force blog_view accept additional query parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.blog.star/trunk/quintagroup/blog/star/browser/blog.py

    r2652 r2656  
    22from Products.CMFCore.utils import getToolByName 
    33from Products.CMFPlone.PloneBatch import Batch 
    4 from collective.blog.view.interfaces import IBlogEntryRetriever 
     4from quintagroup.blog.star.interfaces import IQGBlogEntryRetriever 
    55try: 
    66    from plone.app.discussion.interfaces import IConversation 
     
    2424        year = int(self.request.form.get('year',0)) 
    2525        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) 
    2729 
    2830    def batch(self): 
Note: See TracChangeset for help on using the changeset viewer.