Re: sort on categories (DBEdit)
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38331
interpreted = N
texte = That did it. much obliged :->Donovanmarc@lsaproofing.com wrote:> I think you always need the fieldsort= parameter>> try [search db=category.db&max=25&namesort=1&namesdir=as&startat=...>> on 9/1/01 11:02 PM, Donovan Brooke at dbrooke@ehg.net wrote:>> > Hello> >> > I have this code from the default DBedit (category.tpl) admin page:> > ----------------------------------------> > [!]RESULTS PAGE[/!]> > [showif [page]=results]> >
> >
New Record |
> href=category.tpl?page=search>New Search> > [search db=category.db&max=25&startat=[start]&[formvariables> > name=__&exact=f][getchars> > start=3][name][/getchars]=[url][value][/url]&[/formvariables]]> >
> > [numfound] match(es) found. |
> > ID: Name | | |
> >
|
> > [founditems]> > > > > > [ID]: [name]> > | > > > > > href=category.tpl?page=none&action=delete&theID=[url][ID][/url]>Delete> >> > | > > > > ----------------------------------------> > I want to insert a sort on the found items from the name field in> > alphebetical order. I did this:> > -----------------------------------------> > [!]RESULTS PAGE[/!]> > [showif [page]=results]> > > > New Record | > href=category.tpl?page=search>New Search > > [search db=category.db&max=25&namesdir=as&startat=[start]&[formvariables> > name=__&exact=f][getchars> > start=3][name][/getchars]=[url][value][/url]&[/formvariables]]> > > > --------------------------------------------> > And this doesn't seem to do it.> > Notice the namesdir=as.> >> > Any ideas? thx.-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
That did it. much obliged :->Donovanmarc@lsaproofing.com wrote:> I think you always need the fieldsort= parameter>> try [search db=category.db&max=25&namesort=1&namesdir=as&startat=...>> on 9/1/01 11:02 PM, Donovan Brooke at dbrooke@ehg.net wrote:>> > Hello> >> > I have this code from the default DBedit (category.tpl) admin page:> > ----------------------------------------> > [!]RESULTS PAGE[/!]> > [showif [page]=results]> > > > New Record | > href=category.tpl?page=search>New Search > > [search db=category.db&max=25&startat=[start]&[formvariables> > name=__&exact=f][getchars> > start=3][name][/getchars]=[url][value][/url]&[/formvariables]]> > > > [numfound] match(es) found. | > > ID: Name | | | > >
| > > [founditems]> > > > > > [ID]: [name]> > | > > > > > href=category.tpl?page=none&action=delete&theID=[url][ID][/url]>Delete> >> > | > > > > ----------------------------------------> > I want to insert a sort on the found items from the name field in> > alphebetical order. I did this:> > -----------------------------------------> > [!]RESULTS PAGE[/!]> > [showif [page]=results]> > > > New Record | > href=category.tpl?page=search>New Search > > [search db=category.db&max=25&namesdir=as&startat=[start]&[formvariables> > name=__&exact=f][getchars> > start=3][name][/getchars]=[url][value][/url]&[/formvariables]]> > | |