Re: Sorting
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34110
interpreted = N
texte = John,We previously wrote a neat catalog with version 3+ without difficulty but with this storebulder thing which is neat it has two files linked for searches.search.inc which has this line which searches for the catagories
and this one which uses a loop which displays the items found[hideif [sect][prod]=FF][loop start=1&end=[level]] [/loop]
[S_NAME][/hideif]It appears to display these items randomly as it doesnt matter where they are in the database or what order you add additional items.Its driving us all crazy>Paul Berman wrote:>> > With webcat 4 using the store builder how do I sort the products >found by cost> >>>The search params you are after look like this:>>[search... &field1sort=1&field1sdir=as&field1type=num...]>[/search]>>I don't know about storebuilder, so look for the search command or >context that is do>the finding of the records you want to sort by cost/price, and add >params like what I>showed.>>Ask for more if you are confused.>>-John>>>------------------------------------------------------------->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/-------------------------------------------------------------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:
John,We previously wrote a neat catalog with version 3+ without difficulty but with this storebulder thing which is neat it has two files linked for searches.search.inc which has this line which searches for the catagories[cart]&id1=[s_id]&startat=1&--woSECTIONSdatarq= [s_id]&--SECTIONSword=ww>[S_NAME]
|
and this one which uses a loop which displays the items found[hideif [sect][prod]=FF][loop start=1&end=[level]] [/loop][cart]&[loop start=1&end=[level]]id[index]=[interpret][id[index]][/interpret]&[/loo p]id[math][level]+1[/math]=[s_id]&startat=1&--woSECTIONSdatarq=[s_id]& --SECTIONSword=ww1>[S_NAME]
[/hideif]It appears to display these items randomly as it doesnt matter where they are in the database or what order you add additional items.Its driving us all crazy>Paul Berman wrote:>> > With webcat 4 using the store builder how do I sort the products >found by cost> >>>The search params you are after look like this:>>[search... &field1sort=1&field1sdir=as&field1type=num...]>[/search]>>I don't know about storebuilder, so look for the search command or >context that is do>the finding of the records you want to sort by cost/price, and add >params like what I>showed.>>Ask for more if you are confused.>>-John>>>------------------------------------------------------------->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/-------------------------------------------------------------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/
Paul Berman
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:
Error log crashes server? (1999)
webcat and webkitty votes needed (1997)
[WebDNA] Is the AutoCommit preference still supported? (2010)
Why isn't this working (1999)
[WebDNA] WebDNA and MariaDB (2019)
Unix Timestamp using WebDNA [code req] (2003)
Fw: Error: Permision deny. (2005)
Error Lob.db records error message not name (1997)
Logging purchases (1997)
free zip codes database (1999)
WebCat2 - Getting to the browser's username/password data (1997)
creating a ShipCosts database (1997)
Bug Report, maybe (1997)
[WebDNA] Ubuntu 18.04.2 ??? (2019)
Error Lob.db records error message not name (1997)
[WriteFile] problems (1997)
WebCatalog/Mac 2.1b2 New Features (1997)
b12 cannot limit records returned and more. (1997)
Comparing two fields so the match (1998)
Signal Raised Error (1997)