review_state=('published', 'shared')
the operand is OR by default.
2009/1/21 thaynej <
[hidden email]>:
>
> 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
>
[hidden email]
>
http://lists.plone.org/mailman/listinfo/ui>
_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui