diff -r 421fb447ecb2 -r deb13e88e037 web/views/magicsearch.py --- a/web/views/magicsearch.py Thu Oct 15 18:43:04 2009 +0200 +++ b/web/views/magicsearch.py Thu Oct 15 20:29:21 2009 +0200 @@ -278,7 +278,7 @@ eschema = self.schema.eschema(etype) rtype = self._get_attribute_name(word2, eschema) # expand shortcut if rtype is a non final relation - if not self.schema.rschema(rtype).is_final(): + if not self.schema.rschema(rtype).final: return self._expand_shortcut(etype, rtype, word3) if '%' in word3: searchop = 'LIKE '