On Thu, Aug 28, 2008 at 9:55 AM, Cassie <[EMAIL PROTECTED]> wrote: > On Thu, Aug 28, 2008 at 9:45 AM, Adam Winer <[EMAIL PROTECTED]> wrote: > >> Two quick questions: >> >> - Are there String "enums" anywhere that list possible values for sort >> by and filter? > > > it can be any field of the object being sorted. so for people, it can be > Person.Field.*, or topFriends, or some container specific js sort extension
Person.Field.*, we've got constants for. Container-specific is container-specific, of course. Shouldn't we have a constant for sorting topFriends and for filters, topFriends and hasApp? >> - Is "topFriends" really both a filter *and* a sort order? Shouldn't >> it only be a sort order? > > > yes. see the opensocial js spec. Weird (I'm hard-pressed to imagine a gadget developer actually wanting the filter except by confusion), but OK. -- Adam > > >> >> >> -- Adam >> >

