Mailing List Archive

[Bricolage-General] RE: list ordering direction [take 2]
I meant to say:

I'm doing this:

my @stories = Bric::Biz::Asset::Business::Story->list({
category_id => $category->get_id(),
publish_status => $published,
Order => 'cover_date',
limit => $maxnum,
OrderDirection => 'DESC'
});

but the "OrderDirection" doesn't seem to be effecting the order... I
searched the archives and couldnt find anything on it. Is this a bug or am I
doing something wrong?

thanks,
maj


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] RE: list ordering direction [take 2] [ In reply to ]
On Wednesday, August 21, 2002, at 04:27 AM, jenkinsm@who.int wrote:

> but the "OrderDirection" doesn't seem to be effecting the order... I
> searched the archives and couldnt find anything on it. Is this a bug
> or am I
> doing something wrong?

I think that should work. It actually does cover_date by default,
though. Try a different criterion. If it still doesn't seem to be
sorting, use the source, young Jedi! ;-)

David
--
David Wheeler AIM: dwTheory
david@wheeler.net ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: Theory@jabber.org



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general