4teamwork/ftw.table — pull request #23 by jone (2013-07-09 14:14:26+00:00)
Title: Fix regression from better "sortable" support (1.12)

Regression resulted in AttributeErrors when having the table template customized.
Use `view.sortable_class(th)` instead of `view.sortable_class(th['sort_index'])` in custom table templates.

This fixes issues such as:
```python
....

File "/Users/jone/projects/python/cache/eggs/zope.tales-3.5.3-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- /Users/jone/projects/packages/ftw.contentpage/ftw/contentpage/browser/table-custom-template.pt
- Line 10, Column 16
- Expression:
- Names:
{'args': (),
'container': None,
'context': None,
'default':