Re: user selectable sort order
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33699
interpreted = N
texte = >[Search db=/databases/members.db&eqCountryDatarq=[country]&CountryCase=T&eqCityDatarq=[url][city][/url]&eqstateDatarq=[state]&StateCase=T&max=[max_records]&[sortParam]Sort=1&[sortParam]Type=Date&[sortParam]Sdir=[sortDir]&startAt=[startat]]>>The results are not sorted properly. At least not in the way I would >like them to be sorted.You are searching multiple fields, which means WebCatalog sorts by 'best match', meaning that records which match the most criteria will be sorted to the top, then sub-sorted by date within that order.If you want to disable the 'best match' sorting so that your date sorting overrides it, add allHit=1 to your search criteria.There is no need to convert your dates to some numeric format -- that is an urban legend.Technical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>[Search db=/databases/members.db&eqCountryDatarq=[country]&CountryCase=T&eqCityDatarq=[url][city][/url]&eqstateDatarq=[state]&StateCase=T&max=[max_records]&[sortParam]Sort=1&[sortParam]Type=Date&[sortParam]Sdir=[sortDir]&startAt=[startat]]>>The results are not sorted properly. At least not in the way I would >like them to be sorted.You are searching multiple fields, which means WebCatalog sorts by 'best match', meaning that records which match the most criteria will be sorted to the top, then sub-sorted by date within that order.If you want to disable the 'best match' sorting so that your date sorting overrides it, add allHit=1 to your search criteria.There is no need to convert your dates to some numeric format -- that is an urban legend.Technical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
WebDNA Support
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:
log out (2001)
Date Formats (1997)
WCS Newbie question (1997)
SETCOOKIE Tricks (2003)
Questions about maximum (1999)
Big Databases (1997)
[WebDNA] setcookie in IE11 (2014)
WebDNA Grep assistance [lowercase] (2003)
SSL and Webcat Authentication with IIS 5.0 on Win2K box (2000)
PIXO support (1997)
[WebDNA] Installation on windows 2008 server (2010)
Searching help needed (1998)
404s - Apache vs. WebDNA (2008)
Summing fields (1997)
WebDNA and Virtual Servers (2003)
Emailer (WebCat2) (1997)
Fun with Dates - revisited (again) (1997)
CSS positioning!!! (2001)
experts! - [foundItems] context problem (2000)
my price won't move (1997)