Re: oddball sorting problem
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 55045
interpreted = N
texte = If you have field names of date1 and date2, then you don't need to usegroup1field. That's only if you want to use separate search parameters onthe same field.Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Terry Wilson
> Reply-To: (WebDNA Talk)> Date: Wed, 17 Dec 2003 23:22:00 -0500> To: (WebDNA Talk)> Subject: oddball sorting problem> > I have this:> > [search > ...group1field=date1+date2&group1type=date&gegroup1datarq=[date]&date1type=dat> e&date1sort=1]> > I originally had this:> > [search ...date1type=date&gedate1datarq=[date]&date1sort=1]> > The original search returned the records in the ascending order that> I expected. When I altered it to include a second date (some events> might have two dates), now it sorts screwy. Events with two dates> float to the top (sorted correctly if both dates meet the ge> criterion), followed by double dates where one date meets the> requirement, and finally, the single date items (again, sorted> correctly). What is causing the two-date items to precede the others?> > Maybe a clarification of what exactly is happening with grouped> fields will help.> > I have it roughed out at http://terryfic.com/~yardsales/> > Feel free to play with it. It will be up for a few more days as I develop it.> > Thanks,> Terry> > -------------------------------------------------------------> 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://webdna.smithmicro.com/-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
If you have field names of date1 and date2, then you don't need to usegroup1field. That's only if you want to use separate search parameters onthe same field.Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Terry Wilson > Reply-To: (WebDNA Talk)> Date: Wed, 17 Dec 2003 23:22:00 -0500> To: (WebDNA Talk)> Subject: oddball sorting problem> > I have this:> > [search > ...group1field=date1+date2&group1type=date&gegroup1datarq=[date]&date1type=dat> e&date1sort=1]> > I originally had this:> > [search ...date1type=date&gedate1datarq=[date]&date1sort=1]> > The original search returned the records in the ascending order that> I expected. When I altered it to include a second date (some events> might have two dates), now it sorts screwy. Events with two dates> float to the top (sorted correctly if both dates meet the ge> criterion), followed by double dates where one date meets the> requirement, and finally, the single date items (again, sorted> correctly). What is causing the two-date items to precede the others?> > Maybe a clarification of what exactly is happening with grouped> fields will help.> > I have it roughed out at http://terryfic.com/~yardsales/> > Feel free to play with it. It will be up for a few more days as I develop it.> > Thanks,> Terry> > -------------------------------------------------------------> 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://webdna.smithmicro.com/-------------------------------------------------------------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://webdna.smithmicro.com/
Tim Robinson
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:
serial number dishing (1997)
WebDNA Feature Request (2006)
OT (maybe) Setting up local (non internet) test computers (2000)
Browser Info.txt (1997)
idear about how to get SMSI to speak. (2006)
Multi-Row Tables from a search. (1997)
Announcement-WebCatalog 2.0 Released (1997)
Odd error in logs (1998)
Help! WebCat2 bug (1997)
[ot] Online Sales Tax (2005)
FTP FOLDER PERMISSIONS (2004)
Starting from scratch (2002)
Mail Server Needed. (1998)
Time Until (1999)
FlushDatabase Suggestion (1998)
How To get Some Help (2003)
RequiredFields template (1997)
[WebDNA] php/mySQL version of WebDNA Speed Test? (2009)
[WebDNA] [WSC] WebDNA Development Summit (2014)
Running 2 two WebCatalog.acgi's (1996)