[ic] how to reverse sort order

Stefan Hornburg (Racke) racke at linuxia.de
Fri Jan 13 19:52:18 UTC 2017


On 01/13/2017 07:27 PM, Steve Bronson wrote:
> I have a table in interchange with several columns.  The first column is
> id number.
> 
>  
> 
> Right now when I go to this table in interchange it lists smallest to
> largest id number.
> 
>  
> 
> How do I change it so it list largest to smallest id number?
> 

There are two options for sorting in an Interchange search:

mv_sort_field tf
mv_sort_option to

Options are r (reverse) and n (numeric), so I suppose you need both.

So try to add tf=id and to=rn to your search.

Regards
         Racke


>  
> 
> Steve Bronson
> Air Delights, Inc.
> http://www.airdelights.com
> steve at airdelights.com
> Phone: 1-800-440-5556
> Fax: 1-503-643-8224
> 
> Air Delights, Inc. is a National Distributor of Plumbing Products and
> Restroom Accessories. Please visit our website at http://www.airdelights.com
> Top Manufacturers
> 
> 
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 


-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.




More information about the interchange-users mailing list