Makes sense. It is now in trunk. Thanks. Massimo
On Monday, 17 September 2012 08:42:17 UTC-5, Massimiliano wrote: > > Yes, my proposal was to add an arguments cid to sqltable. > > I've attached a patch just to explain. > > Thank you > > On Mon, Sep 17, 2012 at 2:08 PM, Massimo Di Pierro > <massimo....@gmail.com<javascript:> > > wrote: > >> but there is no cid variable in sqlhtml.py. I am missing something? Can >> you send me a patch and I will try it? >> >> >> On Monday, 17 September 2012 03:39:30 UTC-5, Massimiliano wrote: >> >>> Just add an argument cid=None to SQLTABLE.__init__ >>> and change line 2408-9 >>> >>> from >>> row.append(TH(A(headers.get(c, c), >>> _href=th_link+'?orderby=' + c))) >>> >>> to >>> row.append(TH(A(headers.get(c, c), >>> _href=th_link+'?orderby=' + c, >>> cid=cid))) >>> >>> >>> Thank you >>> >>> On Fri, Sep 14, 2012 at 4:03 PM, Massimo Di Pierro < >>> massimo....@gmail.com> wrote: >>> >>>> Can you provide an example? >>>> >>>> >>>> On Friday, 14 September 2012 03:23:25 UTC-5, Massimiliano wrote: >>>>> >>>>> Hi, >>>>> >>>>> I'm trying to use SQLTABLE in components... Is there a way to make >>>>> orderby links to works in components? >>>>> >>>>> It seems that miss an option to pass cid to orderby links. >>>>> >>>>> I can copy SQLTABLE and make my own but is really a little change... >>>>> >>>>> What do you think to add such option? >>>>> >>>>> Thank you >>>>> >>>>> -- >>>>> Massimiliano >>>>> >>>> -- >>>> >>>> >>>> >>>> >>> >>> >>> >>> -- >>> Massimiliano >>> >> -- >> >> >> >> > > > > -- > Massimiliano > --