Google Base doesn't support sorting text attributes. See the following
documentation pages:
http://code.google.com/apis/base/docs/2.0/ranking-lang-spec.html#criteria
http://code.google.com/apis/base/docs/2.0/attrs-queries.html#sorting

Hope it helps,
Alex

On Feb 26, 6:47 pm, Tom Wilson <[email protected]> wrote:
> What exactly is the attribute zustand ?
>
> On Feb 25, 11:40 am, okrim <[email protected]> wrote:
>
> > hi tehere,
>
> > i´m quiet new to the base api. i´m using the zend framework to handle
> > the api in php.
>
> > i´d like to sort my results. but it doesn´t work.
>
> > here is my code:
> > #############################
> > $query = $service->newItemQuery();
> > $query->setBq('[title:bmw]');
> > $query->setOrderBy('zustand (text)');
> > $query->setSortOrder('descending');
> > $query->setMaxResults('10');
> > $feed = $service->getGbaseItemFeed($query);
> > ##############################
>
> > con someone help me please?
>
> > thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to