Because your sort is random. No two searches will be the same. It seemed= to work the first time because it just didn't happen to find any of th=e previous ones. Please see my previous post and the followup by Lawrence.<=br>
Terrythe mailing list <ta=lk@webdna.us>.
On Tue, 26 Apr 2016 10:31:41 -0500
=C2=A0Richard Kwasniewski <richiekwas@gmail.com> wrote:
=C2=A0Not sure what happened, it seemed like adding the "startat=3D7&q=uot; did
work
=C2=A0initially, but no more.... I may have missed matching up the items.=C2=A0 here is my search code.:
=C2=A0 =C2=A0[search
=C2=A0db=3D^/rs/products.db&woSECTIONSdatarq=3D12&SECTIONSword=3Dww=&namewbrk=3D+&eqVisibledatarq=3DT&eqFeatureddatarq=3DYes&TI=TLEsort=3D1&TITLEsdir=3Dra&max=3D6]
=C2=A0[founditems]
=C2=A06 random items shown.....
=C2=A0[/founditems]
=C2=A0[/search]
=C2=A0 =C2=A0Right beneath this I would have my 2nd search:
=C2=A0 [search
=C2=A0db=3D^/rs/products.db&woSECTIONSdatarq=3D12&SECTIONSword=3Dww=&namewbrk=3D+&eqVisibledatarq=3DT&eqFeatureddatarq=3DYes&TI=TLEsort=3D1&TITLEsdir=3Dra]
=C2=A0[founditems]
=C2=A0Show all other items omitting the 6 found above....
=C2=A0[/founditems]
=C2=A0[/search]
=C2=A0 =C2=A0All this takes place on the exact same page, so cookies don=9;t seem to
be an
=C2=A0option....
=C2=A0 Trying the text variable route.... if I add this within the 1st
search
=C2=A0[text show=3DT]found=3D[SKU][/text]
=C2=A0shows me the SKUs of the 6 chosen randomly in that 1st search, but
how
=C2=A0would I place all 6 of those SKUs within that 2nd search?
=C2=A0 &neSKUdatarq=3D[found] is what I was thinking, but that can'=t work on 6
SKUs
=C2=A0 =C2=A0 =C2=A0On Tue, Apr 26, 2016 at 8:09 AM, Lawrence Banahan
<banahan.l@gmai=l.com>
=C2=A0wrote:
=C2=A0Hi, you could also use a hidden input to keep the previous IDs and exclude<=br>them from next search---------------------------------------------------------
Lawrence
2016-04-26 14:57 GMT+02:00 Terry Wilson <terry@terryfic.com>:But you said you were searching for random results. I don't see how thi=s
would work.
You could collect the record IDs from the first search in a cookie, and
exclude those from the second search, or if on the same page, collect them<=br>in a text variable.
Terry
Sent from my iPad
On Apr 26, 2016, at 5:17 AM, Richard Kwasniewski <richiekwas@gmail.com>
wrote:
Well all righty...
That "startat=3D7" seems to work just fine with that 2nd search/r=esults etc.
Thanks
On Tue, Apr 26, 2016 at 6:53 AM, Tom Duke <tom@revolutionaries.ie> wrote:Richard,
Hi - if you have the same search and sorting criteria, then add:
=C2=A0 =C2=A0&startat=3D7
to your second search.
- Tom
--------------------------------------------------------- This message
is sent to you because you are subscribed to the mailing list . To
unsubscribe, E-mail to: archives:
http://mail.webdna.us/list/talk@webdna.us Bug Reporting=:
support@webdna.us
--------------------------------------------------------- This message issent to you because you are subscribed to the mailing list . To
unsubscribe, E-mail to: archives:
http://mail.webdna.us/list/talk@webdna.us Bug Reporting=:
support@webdna.us
--------------------------------------------------------- This message issent to you because you are subscribed to the mailing list . To
unsubscribe, E-mail to: archives:
http://mail.webdna.us/list/talk@webdna.us Bug Reporting=:
support@webdna.us
--------------------------------------------------------- This message issent to you because you are subscribed to the mailing list . To
unsubscribe, E-mail to: archives:
http://mail.webdna.us/list/talk@webdna.us Bug Reporting=: support@webdna.us<=/a>
This message is sent to you because you are subscribed to
To unsubscribe, E-mail to: <talk-leave@webdna.us>
|
Because your sort is random. No two searches will be the same. It seemed= to work the first time because it just didn't happen to find any of th=e previous ones. Please see my previous post and the followup by Lawrence.<=br>
Terrythe mailing list <ta=lk@webdna.us>.
On Tue, 26 Apr 2016 10:31:41 -0500
=C2=A0Richard Kwasniewski <richiekwas@gmail.com> wrote:
=C2=A0Not sure what happened, it seemed like adding the "startat=3D7&q=uot; did
work
=C2=A0initially, but no more.... I may have missed matching up the items.=C2=A0 here is my search code.:
=C2=A0 =C2=A0[search
=C2=A0db=3D^/rs/products.db&woSECTIONSdatarq=3D12&SECTIONSword=3Dww=&namewbrk=3D+&eqVisibledatarq=3DT&eqFeatureddatarq=3DYes&TI=TLEsort=3D1&TITLEsdir=3Dra&max=3D6]
=C2=A0[founditems]
=C2=A06 random items shown.....
=C2=A0[/founditems]
=C2=A0[/search]
=C2=A0 =C2=A0Right beneath this I would have my 2nd search:
=C2=A0 [search
=C2=A0db=3D^/rs/products.db&woSECTIONSdatarq=3D12&SECTIONSword=3Dww=&namewbrk=3D+&eqVisibledatarq=3DT&eqFeatureddatarq=3DYes&TI=TLEsort=3D1&TITLEsdir=3Dra]
=C2=A0[founditems]
=C2=A0Show all other items omitting the 6 found above....
=C2=A0[/founditems]
=C2=A0[/search]
=C2=A0 =C2=A0All this takes place on the exact same page, so cookies don=9;t seem to
be an
=C2=A0option....
=C2=A0 Trying the text variable route.... if I add this within the 1st
search
=C2=A0[text show=3DT]found=3D[SKU][/text]
=C2=A0shows me the SKUs of the 6 chosen randomly in that 1st search, but
how
=C2=A0would I place all 6 of those SKUs within that 2nd search?
=C2=A0 &neSKUdatarq=3D[found] is what I was thinking, but that can'=t work on 6
SKUs
=C2=A0 =C2=A0 =C2=A0On Tue, Apr 26, 2016 at 8:09 AM, Lawrence Banahan
<banahan.l@gmai=l.com>
=C2=A0wrote:
=C2=A0Hi, you could also use a hidden input to keep the previous IDs and exclude<=br>them from next search---------------------------------------------------------
Lawrence
2016-04-26 14:57 GMT+02:00 Terry Wilson <terry@terryfic.com>:But you said you were searching for random results. I don't see how thi=s
would work.
You could collect the record IDs from the first search in a cookie, and
exclude those from the second search, or if on the same page, collect them<=br>in a text variable.
Terry
Sent from my iPad
On Apr 26, 2016, at 5:17 AM, Richard Kwasniewski <richiekwas@gmail.com>
wrote:
Well all righty...
That "startat=3D7" seems to work just fine with that 2nd search/r=esults etc.
Thanks
On Tue, Apr 26, 2016 at 6:53 AM, Tom Duke <tom@revolutionaries.ie> wrote:Richard,
Hi - if you have the same search and sorting criteria, then add:
=C2=A0 =C2=A0&startat=3D7
to your second search.
- Tom
--------------------------------------------------------- This message
is sent to you because you are subscribed to the mailing list . To
unsubscribe, E-mail to: archives:
http://mail.webdna.us/list/talk@webdna.us Bug Reporting=:
support@webdna.us
--------------------------------------------------------- This message issent to you because you are subscribed to the mailing list . To
unsubscribe, E-mail to: archives:
http://mail.webdna.us/list/talk@webdna.us Bug Reporting=:
support@webdna.us
--------------------------------------------------------- This message issent to you because you are subscribed to the mailing list . To
unsubscribe, E-mail to: archives:
http://mail.webdna.us/list/talk@webdna.us Bug Reporting=:
support@webdna.us
--------------------------------------------------------- This message issent to you because you are subscribed to the mailing list . To
unsubscribe, E-mail to: archives:
http://mail.webdna.us/list/talk@webdna.us Bug Reporting=: support@webdna.us<=/a>
This message is sent to you because you are subscribed to
To unsubscribe, E-mail to: <talk-leave@webdna.us>
DOWNLOAD WEBDNA NOW!
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...