Re: Sorting... stumped.
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 63783
interpreted = N
texte = On Sun, 08 Jan 2006 18:24:47 -0500 Alex McCombie
wrote:> Dan,> Is you example just a simplified version for a larger problem or do you> literally mean the TQN scenario?I mean it literally, as posted. I inherited a site and it's currently working by setting the [searchMethod] value to search/sort the product results, which are divided into 3 [productType]s in the database, literally T, N and Q.> > Seems to me that while not very expandable there is a simple solution for> the literal Question.That's what I'm looking for. Preach on brutha! ;)> > > Set the initial pulldown bars with your 3 values:> > T> Q> N> > > Then on the results page use the field value inside a listwords context to> manipulate the 3 founditem sets.> > > Listwords value> founditems> showif if value of data = word value> /founditems> /listwords> > This will essentially do the one search but show the proper records through> 3 founditem instances in the order you want.> > Make sense?Maybe. Are you saying that I can do multiple [founditems] inside of a single search context? No, you can't be, that's not possible (right)? Do you mean nesting 3 searches, but changing the order of them as required by whichever option (T/Q/N)?Sorry if what you're saying is simple and I'm overcomplicating it, but I'm not totally following you yet... oh and thanks for the help.-Dan-------------------------------------------------------------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:
On Sun, 08 Jan 2006 18:24:47 -0500 Alex McCombie wrote:> Dan,> Is you example just a simplified version for a larger problem or do you> literally mean the TQN scenario?I mean it literally, as posted. I inherited a site and it's currently working by setting the [searchMethod] value to search/sort the product results, which are divided into 3 [productType]s in the database, literally T, N and Q.> > Seems to me that while not very expandable there is a simple solution for> the literal Question.That's what I'm looking for. Preach on brutha! ;)> > > Set the initial pulldown bars with your 3 values:> > T> Q> N> > > Then on the results page use the field value inside a listwords context to> manipulate the 3 founditem sets.> > > Listwords value> founditems> showif if value of data = word value> /founditems> /listwords> > This will essentially do the one search but show the proper records through> 3 founditem instances in the order you want.> > Make sense?Maybe. Are you saying that I can do multiple [founditems] inside of a single search context? No, you can't be, that's not possible (right)? Do you mean nesting 3 searches, but changing the order of them as required by whichever option (T/Q/N)?Sorry if what you're saying is simple and I'm overcomplicating it, but I'm not totally following you yet... oh and thanks for the help.-Dan-------------------------------------------------------------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/
"Dan Strong"
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:
SKU lookup (1997)
Show shoppingcart after remove last item (1997)
Need something like [listchars] ... (2000)
Nested tags count question (1997)
PIXO with cometsite ... and/or other plugins (1998)
WML (2000)
Searching multiple fields (1997)
Problems with ErrorLog on Linux (2000)
Ampersand (1997)
World Address Info (2003)
Sorting by date (1997)
woops - speed results - right subject (2002)
(2000)
Variable prices and Formulas.db (1997)
[WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (2009)
email [title] (1997)
Sendmail error 17152 - Another Discovery! (2000)
Appendfile memory usage (redux) (2003)
Does anyone have a TCPconnect that does multiple sends... (2000)
Anyone using WebCat UNIX on a busy server yet? (1999)