changeset 2469 | b87c4d150e09 |
parent 2446 | 440cb4ea7e5c |
child 2487 | c4c13cf8cd7b |
--- a/web/views/__init__.py Fri Jul 24 12:09:04 2009 +0200 +++ b/web/views/__init__.py Fri Jul 24 12:10:22 2009 +0200 @@ -81,6 +81,8 @@ if req.search_state[0] == 'normal': return 'primary' return 'outofcontext-search' + if len(rset.columns_type(0)) == 1: + return 'adaptedlist' return 'list' return 'table'