Re: [WebDNA] Data Type Bool

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103135
interpreted = N
texte = So you would have two founditems loops within your search: [search stuff...] [hideif [instock]=3D0] [founditems] =2E.. [/founditems] [/hideif] [showif [instock]=3D0] [founditems] =2E.. [/founditems] [/showif] [/search] (sort by sku, not instock) Terry Essentially, we want our product listing page to do the following: Group all the items that are in stock first, out of stock second. Within the in stock items, we want to sort by SKU. Right now, since in stock is the actual number in=20 stock, it is sorting by actual number, not just=20 by what is in stock and not in stock. ----------- Ki Song On Tue, Aug 4, 2009 at 2:13 PM, Govinda=20 <govinda.webdnatalk@gmail.com>=20 wrote: Ki, I don't think so. But with webdna you don't need it either. =A0If you=20 are not able to do what you want, then post the=20 problem, someone will surely guide you to the=20 solution. On Aug 4, 2009, at 12:07 PM, Ki Song - Knifecenter.com wrote: Is something like this possible in a search context: &asSKUsort=3D2&deON HANDsort=3D1&ON HANDtype=3Dbool Can a data type be type boolean in a search context? ----------- Ki Song ------------ John Butler (Govinda) govinda.webdnatalk@gmail.com --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list <talk@webdna.us>. To unsubscribe, E-mail to: <talk-leave@webdna.u= s> archives:=20 http://mail.webdna.us/list/talk@w= ebdna.us old archives:=20 http://dev.webdna.us/TalkListArchive/ -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://TightJacket.com -- stylish protection for your laptop -------------------------------------------------------------------------- Attitude is the only difference between ordeal and adventure. Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Data Type Bool (John Butler 2009)
  2. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  3. Re: [WebDNA] Data Type Bool (Brian Fries 2009)
  4. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  5. Re: [WebDNA] Data Type Bool (Govinda 2009)
  6. Re: [WebDNA] Data Type Bool ("Terry Wilson" 2009)
  7. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  8. Re: [WebDNA] Data Type Bool ("Ki Song - Knifecenter.com" 2009)
  9. Re: [WebDNA] Data Type Bool ("Terry Wilson" 2009)
  10. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  11. Re: [WebDNA] Data Type Bool (Donovan Brooke 2009)
  12. Re: [WebDNA] Data Type Bool (Marc Thompson 2009)
  13. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  14. Re: [WebDNA] Data Type Bool (Marc Thompson 2009)
  15. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  16. Re: [WebDNA] Data Type Bool (Terry Wilson 2009)
  17. Re: [WebDNA] Data Type Bool ("Ki Song - Knifecenter.com" 2009)
  18. Re: [WebDNA] Data Type Bool (Govinda 2009)
  19. [WebDNA] Data Type Bool ("Ki Song - Knifecenter.com" 2009)
So you would have two founditems loops within your search: [search stuff...] [hideif [instock]=3D0] [founditems] =2E.. [/founditems] [/hideif] [showif [instock]=3D0] [founditems] =2E.. [/founditems] [/showif] [/search] (sort by sku, not instock) Terry Essentially, we want our product listing page to do the following: Group all the items that are in stock first, out of stock second. Within the in stock items, we want to sort by SKU. Right now, since in stock is the actual number in=20 stock, it is sorting by actual number, not just=20 by what is in stock and not in stock. ----------- Ki Song On Tue, Aug 4, 2009 at 2:13 PM, Govinda=20 <govinda.webdnatalk@gmail.com>=20 wrote: Ki, I don't think so. But with webdna you don't need it either. =A0If you=20 are not able to do what you want, then post the=20 problem, someone will surely guide you to the=20 solution. On Aug 4, 2009, at 12:07 PM, Ki Song - Knifecenter.com wrote: Is something like this possible in a search context: &asSKUsort=3D2&deON HANDsort=3D1&ON HANDtype=3Dbool Can a data type be type boolean in a search context? ----------- Ki Song ------------ John Butler (Govinda) govinda.webdnatalk@gmail.com --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list <talk@webdna.us>. To unsubscribe, E-mail to: <talk-leave@webdna.u= s> archives:=20 http://mail.webdna.us/list/talk@w= ebdna.us old archives:=20 http://dev.webdna.us/TalkListArchive/ -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://TightJacket.com -- stylish protection for your laptop -------------------------------------------------------------------------- Attitude is the only difference between ordeal and adventure. Terry Wilson

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:

Quit revisited (1997) tcpconnect/tcpsend problem ... (2004) Still trying to email... (1998) How true is this? (1999) RE: formula.db, adding option prices (1997) [WebDNA] Build Name for 6.1 (2008) carriage returns in data (1997) Frames and WebCat (1997) HELP WITH DATES (1997) Document Contains No Data! (1997) Setting up shop (1997) Emailer Timing out (1999) message forum question (2005) Multiple fields on 1 input (1997) WebCat2 several catalogs? (1997) Help with (2003) Trouble with [fileinfo] - update (2004) Crashing Server (2000) Problem with summ=T & [sum fieldname=] (2001) Date Formats (1997)