Re: how to reverse sort order

"Stefan Hornburg (Racke)" <[email protected]>
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
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
> [email protected]
> 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
> [email protected]
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 


-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.