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:

Strange Crash (1998) [url] (1997) can you use [middle] in a search? (2001) RE: Major Security Hole IIS NT (1998) sorting and summarizing (1998) Getting Emailer to send mail (1997) Some ThankYou page problems (1997) Text data with spaces in them... (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Includeform Error (2002) Date Formats (1997) Problem (1997) Rhapsody? (1997) Webcatalog [blank] Problem (1999) typhoon vs. webcatalog (1997) brain teaser with an advanced search (2001) Checkboxes (1997) [FileInfo] on a remote file (2000) WebCat2b15MacPlugin - [protect] (1997) FEW QUESTIONS (1997)