web/views/__init__.py
changeset 2491 95eada71bb23
parent 2487 c4c13cf8cd7b
child 3122 0e49d2679c5c
--- 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'