[Plone-UI] News Portlet

Souheil CHELFOUH trollfot at gmail.com
Wed Jan 21 17:14:47 UTC 2009


review_state=('published', 'shared')
the operand is OR by default.

2009/1/21 thaynej <thaynecj at gmail.com>:
>
> For Plone 2.5.  I need to allow for a review_state that includes multiple
> states.
>
> Ex.
>
> I how do I modify the review_state below to include 'published' or 'shared'
> states?
>
> results python:request.get('news',
>
> here.portal_catalog.searchResults(portal_type='WU News Item',
>                                                sort_on='Date',
>                                                sort_order='reverse',
>
> review_state='published')[:5]);
>
>
> --
> View this message in context: http://n2.nabble.com/News-Portlet-tp2193176p2193176.html
> Sent from the User Interface & Design mailing list archive at Nabble.com.
>
>
> _______________________________________________
> UI mailing list
> UI at lists.plone.org
> http://lists.plone.org/mailman/listinfo/ui
>




More information about the UI mailing list