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<javascript:>
> > 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
>  

-- 



Reply via email to