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:

Need relative path explanation (1997) [WebDNA] Open source WebDNA? (2012) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) WebCatalog stalls (1998) Nested tags count question (1997) WebCatalog2 Feature Feedback (1996) Emailer not working (1998) Look out kiwis! (2003) PCS Emailer's role ? (1997) [WebDNA] hide [DOS] command strings on resulting page (2016) Can you do this??? and other stuff (1997) Country & Ship-to address & other fields ? (1997) Authenticate (1997) Upgrade on MacOSX 3.05 to 3.08 (2000) Problems adding stuff to the shopping cart. (1997) can webcat determine an image's pixel dimensions? (2000) Webcat 4.0.x and apache 2.x (2002) [delete] problem (1997) Weird + issue (2002) Getting total number of items ordered (1997)