On Dec 11, 2007, at 5:07 AM, Scott Lanning wrote:
> On Mon, 10 Dec 2007, Phillip Smith wrote:
>> I'm wondering if anyone knows if it's possible to
send more than
>> one category to archive_list.mc? Ideally, I'd like
to be able to
>> use something like ANY(cat1, cat2). However, using
ANY results in
>> no results and no error.
>>
>> Thoughts?
>
> The template is just a call to Story->list.
> You could change $category to category,
> and category_uri => ANY(map {"$category%"}
category) .
That's hilarious. After talking to David in #bricolage (did
I mention
that there's a Bricolage IRC channel on irc.perl.org!? ), and
demonstrating my ignorance of Postgres, I implemented the
solution
that you suggest above. Worked like a charm.
Great minds, birds-of-a-feather, or misery loves company?
;-P
Phillip.
--
Phillip Smith,
Simplifier of Technology
Community Bandwidth
|