Nov 19, 2009, 11:17 PM
Post #2 of 2
(1049 views)
Permalink
Hi Zdravko,
Just pass it as one of the parameters on the list():
my @stories = Bric::Biz::Asset::Business:Story->list({
category_uri => '/awesome/',
Limit => 10,
});
Hope this helps,
Bret
On Fri, 2009-11-20 at 08:09 +0100, Zdravko Balorda wrote:
> Hi,
> I am asking for a clue here, where to hack in a LIMIT 10,
> to get last 10 stories from Story::list() function.
>
> Regards, Zdravko
>
>
--
Bret Dawson
Producer
Pectopah Productions Inc.
(416) 895-7635
bret@pectopah.com
www.pectopah.com