Yes, categories_in (or catField_in) will return rows with any of the listed categories, categories_eq (or catField_eq) returns rows with all of the listed categories.
Blair On Thu, Mar 21, 2013 at 7:03 AM, Sean Coyne <[email protected]> wrote: > You can just use "categories_in" or "categories_eq". They are special > arguments that use refCategories to filter by category. > > Sean > > > On Wednesday, March 20, 2013 3:57:00 PM UTC-4, Marco van den Oever wrote: >> >> How does this work when I want to get all dmNews items that have the >> categoryobjectid #i# in catNews, but also when have #i# and another >> categoryobjectid? >> >> <cfset nieuws=application.fapi.**getContentObjects(typename="**dmNews", >> publishdate_lte=now(), expirydate_gte=now(), catNews_eq="#i#", >> orderby="publishdate DESC",maxRows="7")> >> >> I have some items with multiple catNews values. >> >> -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: [email protected] > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > --- > You received this message because you are subscribed to the Google Groups > "farcry-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry --- You received this message because you are subscribed to the Google Groups "farcry-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
