Re: [WebDNA] Sorting questions

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102540
interpreted = N
texte = Well done, you beat me to it ! Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 12/05/2009, at 8:35 AM, Tony Miller wrote: > I found it. The code is building the url for the include file to > call dynamically. Therefore if it is calling for the 'main' section, > it builds and calls main_directory.inc. Likewise, when it is a > 'detail' section (an individual directory listing) is includes > detail_directory.inc. > > Once I edited the line: > > [Search db=[REL_ROOT_DIR]data/ > [SM1_DATASOURCE]&eqDAT_CAT_IDdatarq=[CAT_ID]] > > to > > [Search db=[REL_ROOT_DIR]data/ > [SM1_DATASOURCE > ]&eqDAT_CAT_IDdatarq > =[CAT_ID]&asDAT_BUSINESSsort=1&asDAT_BUSINESStype=text] > [Founditems] > > It is sorting correctly now. > > My head is about to explode, however. > > I have a similar problem with sorts on the products pages, but I > have a better idea where to look now. I've already added a rank > field. So I should be able to add a sort for rank in the correct > include file. > > Thanks for the help. > > Tony Miller > tmiller@thehawkeye.com > > On May 11, 2009, at 3:16 PM, Tony Miller wrote: > >> [!]pass all the parameters to the subnav.tpl for the intranet >> pages[/!] >> [!]