Did you try the ANY function?
{
category=>ANY(item1, item2)
}
-----Original Message-----
From: Ashlee Caul [mailto:acaul rand.org]
Sent: Tuesday, July 10, 2007 11:53 AM
To: Bricolage Users
Subject: selecting stories from multiple categories
Is there some way via $story->list (or anything else) to
select
stories from more than one specific category, such as
$story->list({element_key_name => "news",
category_uri => "/news/
health/, /news/arts/, /news/education/" Order =>
"cover_date"}); ?
The reason that I ask is that we want to select all stories
from a
particular week or month, in certain categories only
(explicitly NOT
in certain other categories), and ordered descending by
cover date of
each story, i.e. not sorting all health by cover date then
all arts
by cover date, etc. but by cover date regardless of
category.
Thanks,
Ashlee
--------------------
This email message is for the sole use of the intended
recipient(s) and
may contain privileged information. Any unauthorized review,
use,
disclosure or distribution is prohibited. If you are not the
intended
recipient, please contact the sender by reply email and
destroy all
copies
of the original message.
|