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].
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.