diff -r 5cc7acc7a238 -r ce020f90fb8e web/facet.py --- a/web/facet.py Thu Jul 07 11:10:50 2011 +0200 +++ b/web/facet.py Thu Jul 07 11:33:39 2011 +0200 @@ -256,7 +256,8 @@ # XXX: X title LOWER(T) if it makes sense? return None if rschema.final: - if len(ovar.stinfo['relations']) == 1: + if len(ovar.stinfo['relations']) == 1 \ + and not ovar.stinfo.get('having'): # attribute selection return ovar return None