Re: sort problems....bug or brain fart?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10526
interpreted = N
texte = Matt:Without doing a lot of work to duplicate the problem I will state that the most common problem with sorting data is that it sorts within found records that are equally ranked. Thus you can find all the records in the database, but unless they're equally ranked, all the records won't necessarily sorted the way you expect. To force the results to all have the same ranking (hit count) set a hidden variable allhit to 1.John.>Hello list! > >I am having a problem designating a sort order from a search form and I >cannot see what's wrong. If any of you can tell me what is wrong with the >following I would be greatly appreciative. > >If not then perhaps this is a bug...... > >Tested under the following conditions: >Hardware: Umax S900 604e/200, Apple 6150 (tested on both platforms) >Software: WebStar 2.01, WebCatalog Plugin 2.0f1, >Browsers: CyberDog2.0, Netscape 3.01, IE 3.0 > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > >The Results are sorted based on whichever variable I designate as having a >VALUE=1. All other variables are ignored. I tried using method=GET >just for grins and it made no difference. I have played with it everyway I >can think of including turning off the ranking before designating the sort >order and retesting it under b15....still a no-go. > >This same piece of code worked under 1.6. > >Any idea's???? > >Thanx in advance....Matthew Steele John A. Hill, V.P. Marketing ********************************* Pacific Coast Software * Home of the Web's best 11770 Bernardo Plaza Ct. #462 * Catalog and Merchant software San Diego, CA 92128 * http://www.smithmicro.com Phone: 619-675-1106 Fax: 675-0372 ********************************* Associated Messages, from the most recent to the oldest:

    
  1. sort problems....bug or brain fart? (Matthew Steele 1997)
  2. Re: sort problems....bug or brain fart? (John Hill 1997)
Matt:Without doing a lot of work to duplicate the problem I will state that the most common problem with sorting data is that it sorts within found records that are equally ranked. Thus you can find all the records in the database, but unless they're equally ranked, all the records won't necessarily sorted the way you expect. To force the results to all have the same ranking (hit count) set a hidden variable allhit to 1.John.>Hello list! > >I am having a problem designating a sort order from a search form and I >cannot see what's wrong. If any of you can tell me what is wrong with the >following I would be greatly appreciative. > >If not then perhaps this is a bug...... > >Tested under the following conditions: >Hardware: Umax S900 604e/200, Apple 6150 (tested on both platforms) >Software: WebStar 2.01, WebCatalog Plugin 2.0f1, >Browsers: CyberDog2.0, Netscape 3.01, IE 3.0 > > >[cart]> > > > > > > > > > > > > > > > > > > > > > > > > > > >The Results are sorted based on whichever variable I designate as having a >VALUE=1. All other variables are ignored. I tried using method=GET >just for grins and it made no difference. I have played with it everyway I >can think of including turning off the ranking before designating the sort >order and retesting it under b15....still a no-go. > >This same piece of code worked under 1.6. > >Any idea's???? > >Thanx in advance....Matthew Steele John A. Hill, V.P. Marketing ********************************* Pacific Coast Software * Home of the Web's best 11770 Bernardo Plaza Ct. #462 * Catalog and Merchant software San Diego, CA 92128 * http://www.smithmicro.com Phone: 619-675-1106 Fax: 675-0372 ********************************* 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:

Re:Transfer of data from Invoice to thank you templates (1998) Netscape 3.01 can't see db in form (1997) Pull down menu for categories (2000) RE: [WebDNA] Basic Search (2008) WebCat for Unix?? (1997) Custom Shipping Charges (1997) The max=0 issue is a bug ... CALL TO ACTION (2000) WebCommerce: Folder organization ? (1997) WebCatalog dying in NT (1998) WC2b15 File Corruption (1997) One other big addition... (1997) [WebDNA] [OT] Apple iPad (2010) HomePage Caution (1997) how do you and/or in a search? (1997) Parsing overhead for commenting out line endings (2003) Error messages (2004) Is this possible in simple search? question? (1998) Gettting IPAddress (2001) Searchable WebCat (etc.) Docs ? (1997) [format 40s]text[/format] doesn't work (1997)