web/facet.py
changeset 3720 5376aaadd16b
parent 3456 1a63a252601f
parent 3689 deb13e88e037
child 4072 ead446e70c28
child 4073 03681ba6da0b
--- a/web/facet.py	Thu Oct 15 11:20:26 2009 +0200
+++ b/web/facet.py	Mon Oct 19 15:16:41 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