web/facet.py
branchstable
changeset 3689 deb13e88e037
parent 3333 c61a526b530e
child 3720 5376aaadd16b
child 4212 ab6573088b4a
equal deleted inserted replaced
3688:421fb447ecb2 3689:deb13e88e037
    90             ovar = rhs.variable
    90             ovar = rhs.variable
    91         except AttributeError:
    91         except AttributeError:
    92             # constant restriction
    92             # constant restriction
    93             # XXX: X title LOWER(T) if it makes sense?
    93             # XXX: X title LOWER(T) if it makes sense?
    94             return None
    94             return None
    95         if rschema.is_final():
    95         if rschema.final:
    96             if len(ovar.stinfo['relations']) == 1:
    96             if len(ovar.stinfo['relations']) == 1:
    97                 # attribute selection
    97                 # attribute selection
    98                 return ovar
    98                 return ovar
    99             return None
    99             return None
   100         opt = 'right'
   100         opt = 'right'