Hallo,

I have more than one sortable fields. Example:

I have address data and I want to sort by zip code and street name.
Now I have both fields as sortable declared in the schema and I 
can sort by them.

q=*&sort=zip+asc

or 

q=*&sort=street+asc

But how can I sort by both (first zip code then street).

q=*&sort=zip+asc&sort=street+asc

I got no error message, but the result is not sorted by the second 
criteria.

The params are:

<lst name="params">
  <arr name="sort">
   <str>zip asc</str>
   <str>street desc</str>
  </arr>
  <str name="indent">true</str>
  <str name="q">*</str>
  <str name="wt">xml</str>
</lst>

What is my mistake?

Thanks for any hint.

Ciao
  Peter Schütt

Reply via email to