web/facet.py
branchstable
changeset 3689 deb13e88e037
parent 3333 c61a526b530e
child 3720 5376aaadd16b
child 4212 ab6573088b4a
--- a/web/facet.py	Thu Oct 15 18:43:04 2009 +0200
+++ b/web/facet.py	Thu Oct 15 20:29:21 2009 +0200
@@ -92,7 +92,7 @@
             # constant restriction
             # XXX: X title LOWER(T) if it makes sense?
             return None
-        if rschema.is_final():
+        if rschema.final:
             if len(ovar.stinfo['relations']) == 1:
                 # attribute selection
                 return ovar