author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Fri, 24 Jul 2009 17:03:32 +0200 | |
changeset 2491 | 95eada71bb23 |
parent 2490 | b0771c03f531 |
child 2494 | ef8b86f6ca5a |
--- a/web/views/__init__.py Fri Jul 24 15:30:14 2009 +0200 +++ b/web/views/__init__.py Fri Jul 24 17:03:32 2009 +0200 @@ -81,7 +81,7 @@ if req.search_state[0] == 'normal': return 'primary' return 'outofcontext-search' - if len(rset.columns_type(0)) == 1: + if len(rset.column_types(0)) == 1: return 'adaptedlist' return 'list' return 'table'