Re: Sort of a Dilema!

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18407
interpreted = N
texte = Just add a parameter for sort direction (sdir) to equal descending (de), in this case, datesdir=de. It's on page 183 of the printed manual.You can also just add de to the beginning of datesort=1, thus dedatesort=1. This tip isn't in the manual -- picked it up somewhere -- that's how I'm doing the same thing for my dates.Terry Wilson terryw@rainbowcreek.com>I am using the following string to sort the records by field date and >it sorts them by low number to high: >Results.tpl?command=search&db=catalog.txt&eqcategorydatarq=June%201998&cart=298 >121117130388&searchTitle=June%201998&datesort=1&datetype=date>EXCEPT I want the sort to load latest date first. > >I have emptied the manual chapter on sort into the search >string and still no results. > >Whats the correct context for what I want to do? Associated Messages, from the most recent to the oldest:

    
  1. Re: Sort of a Dilema! (Kenneth Grome 1998)
  2. Re: Sort of a Dilema! (Terry Wilson 1998)
  3. Re: Sort of a Dilema! (Dave MacLeay 1998)
  4. Sort of a Dilema! (The Mooseman 1998)
Just add a parameter for sort direction (sdir) to equal descending (de), in this case, datesdir=de. It's on page 183 of the printed manual.You can also just add de to the beginning of datesort=1, thus dedatesort=1. This tip isn't in the manual -- picked it up somewhere -- that's how I'm doing the same thing for my dates.Terry Wilson terryw@rainbowcreek.com>I am using the following string to sort the records by field date and >it sorts them by low number to high: >Results.tpl?command=search&db=catalog.txt&eqcategorydatarq=June%201998&cart=298 >121117130388&searchTitle=June%201998&datesort=1&datetype=date>EXCEPT I want the sort to load latest date first. > >I have emptied the manual chapter on sort into the search >string and still no results. > >Whats the correct context for what I want to do? Terry Wilson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) not interpreting Q (2001) [OT] MS Security Flaw (2000) [include ...] behavior (1997) 2nd WebCatalog2 Feature Request (1996) NetSplat and WebCat2 (1997) [WebDNA] Digest from talk@webdna.us (2015) textarea data entry and display (2000) Individual LineItemChangePassword files would be better ... (1999) Running 2 two WebCatalog.acgi's (1996) Another question (1997) WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997) Multiple Replaces (1997) [OT] Bad Cookie / Internet Option / Internet Explorer (2004) WebCat2 beta 11 - new prefs ... (1997) WML (2000) 'does not contain' operator needed ... (1997) RE: URL too Long? (1997) Flag checking (2000) database size? (1997)