0.6.6 fixed the error but it still puts out search fields for the 
headers.  Am I wrong in assuming this is supposed to disable search on 
column header?


On Thursday, January 30, 2014 11:39:24 AM UTC-6, Alessandro Molina wrote:
>
> Version 0.6.6 is out with fix for the issue.
>
>
> On Thu, Jan 30, 2014 at 6:28 PM, Alessandro Molina 
> <[email protected]<javascript:>
> > wrote:
>
>> Looks like it's a bug introduced by 
>> https://github.com/TurboGears/tgext.crud/commit/2c5fe53b52e99e0fc9b883ec1d27c3cac7f43764
>>  
>> I'll roll out a bugfix release this evening.
>>
>>
>> On Thu, Jan 30, 2014 at 6:21 PM, Stuart Zurcher 
>> <[email protected]<javascript:>
>> > wrote:
>>
>>> Has anyone else ran into this error when using search_fields = False?
>>>
>>>
>>> tgext.crud-0.6.3-py2.7.egg/tgext/crud/controller.py",line *204*, in 
>>>> _get_current_search 
>>>>
>>>> return (search_fields[0][0], '')
>>>>
>>>> IndexError: list index out of range
>>>>
>>>>  
>>> code I am using:
>>>
>>>
>>> class defaultCrudRestController(CrudRestController):
>>>>             model = Comments
>>>>             pagination = {'items_per_page': 10}  # set pagination value 
>>>> here
>>>>             *search_fields = False*
>>>>
>>>
>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TurboGears" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> To post to this group, send email to [email protected]<javascript:>
>>> .
>>> Visit this group at http://groups.google.com/group/turbogears.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to