Re: Quick Question About Sorting

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15434
interpreted = N
texte = No, you don't have to search the field you are sorting. The reason this happens is mostly likely due to our intelligent ranking. Only similarly ranked items are sorted. If you add an allHit=1 parameter to your search then all results are ranked the same. Also, you may want to specify the sort direction like asrecordtitlesort=1 for ascending etc.John.>In order to sort by a field, are you required to search that field? > >It seems that my sorts do not work unless I put in a search parameter >for that field. > >For example: > >[Search db=database.db&geSKUdatarq=[SKU]&recordtitlesort=1] > >This does not sort by RecordTitle. > >I am finding that I have to put in a dummy search parameter to make it >work. > >[Search >db=database.db&geSKUdatarq=[SKU]&gerecordtitledatarq=AA&recordtitlesort=1] > > > >Thanks. > >Trevor Crist >http://www.digitalfrontier.com John A. Hill Pacific Coast Software http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Quick Question About Sorting (Kenneth Grome 1997)
  2. Re: Quick Question About Sorting (John Hill 1997)
  3. Quick Question About Sorting (Trevor Crist 1997)
No, you don't have to search the field you are sorting. The reason this happens is mostly likely due to our intelligent ranking. Only similarly ranked items are sorted. If you add an allHit=1 parameter to your search then all results are ranked the same. Also, you may want to specify the sort direction like asrecordtitlesort=1 for ascending etc.John.>In order to sort by a field, are you required to search that field? > >It seems that my sorts do not work unless I put in a search parameter >for that field. > >For example: > >[Search db=database.db&geSKUdatarq=[SKU]&recordtitlesort=1] > >This does not sort by RecordTitle. > >I am finding that I have to put in a dummy search parameter to make it >work. > >[Search >db=database.db&geSKUdatarq=[SKU]&gerecordtitledatarq=AA&recordtitlesort=1] > > > >Thanks. > >Trevor Crist >http://www.digitalfrontier.com John A. Hill Pacific Coast Software http://www.smithmicro.com John Hill

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:

The Form authentication trick (2000) Search returns all, not 20 (1997) Weird Errors (2007) problem: mail changed (1997) Download to disk NOT display in browser (2002) Weird problems with [SHOWIF]s (1997) syntax question, not in online refernce (1997) Great product and great job ! (1997) WebTen? (1997) [isfile] ? (1997) Shipcost formula (2004) WebCatalog NT beta 18 now available (1997) PR: WebCatalog Affiliates Program Announced -- Share the (2000) PCS Emailer's role ? (1997) Help! WebCat2 bug (1997) Emailer setup (1997) WebCat2b15MacPlugin - showing [math] (1997) Expiration of Carts (1997) Tax Collection for Different Items (2003) FW: The DNAForum Registration Confirmation (2002)