Re: resorting found set
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 60847
interpreted = N
texte = Hi1. You can NOT pass a variable like "&sort=3Daspricesort=3D1". Yo=u will have to pass this like: &sort=3Daspricesort&sort2=3D1". Yo=u search code then has to look like this: search db=3Dxxxx.db&[so=rt]=3D[sort2].2. You are aware that your search will always start at position "=1" when you pass the startat=3D1 parameter, right?Nitai--Redakto - Content Management that simply worksContent Management & eBusiness Systems ComputerOil=C2=AE AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66 info@computeroil.comhttp://computeroil.com > -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On B=ehalf Of> Steve Chun> Sent: Mittwoch, 26. Januar 2005 06:59> To: WebDNA Talk> Subject: resorting found set> > I'm wondering if I can get away from using tables by swapping o=ut the> "sort" value within the search context. It works for the first=20=page of> results but when I click on the link for the next page of resul=ts, the> items are returned in a random order. I've gone through all the=> talk-list history and can't seem to find a solution to this. An=y help> is appreciated.> > > Here is the test page:> > http://bestwinesupdate.com/index-test.htm> > and the stripped down code for the results page:> > > >
Sort by> Price>
>
Sort> by Variety> > > > [search> db=3Dwines.db&rnpricedatarq=3D[price]&[sort]&wsvarietydatarq=3D=[variety]&max=3D2> 5&startat=3D[startnum]]> [text show=3Df]dividerA=3D[math]ceil([numfound]/25)[/math][/tex=t]> > [foundItems]> [name] [variety] [price]> [/foundItems]> > > > > !Shownext loop here:> > [Loop start=3D1&end=3D[dividerA]]>
[index]> |> [/Loop]> > > Steve> > > -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> 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:
Hi1. You can NOT pass a variable like "&sort=3Daspricesort=3D1". Yo=u will have to pass this like: &sort=3Daspricesort&sort2=3D1". Yo=u search code then has to look like this: search db=3Dxxxx.db&[so=rt]=3D[sort2].2. You are aware that your search will always start at position "=1" when you pass the startat=3D1 parameter, right?Nitai--Redakto - Content Management that simply worksContent Management & eBusiness Systems ComputerOil=C2=AE AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66 info@computeroil.comhttp://computeroil.com > -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On B=ehalf Of> Steve Chun> Sent: Mittwoch, 26. Januar 2005 06:59> To: WebDNA Talk> Subject: resorting found set> > I'm wondering if I can get away from using tables by swapping o=ut the> "sort" value within the search context. It works for the first=20=page of> results but when I click on the link for the next page of resul=ts, the> items are returned in a random order. I've gone through all the=> talk-list history and can't seem to find a solution to this. An=y help> is appreciated.> > > Here is the test page:> > http://bestwinesupdate.com/index-test.htm> > and the stripped down code for the results page:> > > > [cart]&sort=3Daspricesort=3D1&sta=rtat=3D1">Sort by> Price>
> [cart]&sort=3Dasvarietysort=3D1&s=tartat=3D1">Sort> by Variety> > > > [search> db=3Dwines.db&rnpricedatarq=3D[price]&[sort]&wsvarietydatarq=3D=[variety]&max=3D2> 5&startat=3D[startnum]]> [text show=3Df]dividerA=3D[math]ceil([numfound]/25)[/math][/tex=t]> > [founditems]> [name] [variety] [price]> [/foundItems]> > > > > !Shownext loop here:> > [Loop start=3D1&end=3D[dividerA]]> [math]([index]*25)-24[/math]"=>[index]> |> [/Loop]> > > Steve> > > -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> 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/
"Nitai @ ComputerOil"
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:
Execute Applescript (1997)
about this server and links to who (1997)
emailer setup (1997)
Error 11 (1996)
Emailer problem (1998)
carriage returns in data (1997)
WebCatalog for guestbook ? (1997)
redirect strangeness (2000)
PCS Frames (1997)
Note added to [sendmail] in Docs (2004)
(2000)
Unknown error: OrderNotCreated (1997)
SMSI - MacWorld (2005)
This might sound silly... (2000)
quantity minimum problem (1997)
emailer w/F2 (1997)
re:Clickable maps and WebCatalog? (1996)
Where's Cart Created ? (1997)
blank page from template (1997)
notification solutions (1997)