web/views/navigation.py
branchstable
changeset 3751 ff404cef5244
parent 3689 deb13e88e037
child 3777 3ef8cdb5fb1c
child 4057 a5ec0475601e
--- a/web/views/navigation.py	Tue Oct 20 16:21:30 2009 +0200
+++ b/web/views/navigation.py	Tue Oct 20 16:21:41 2009 +0200
@@ -62,6 +62,8 @@
         req = self.req
         if attrname is not None:
             def index_display(row):
+                if not rset[row][col]: # outer join
+                    return u''
                 entity = rset.get_entity(row, col)
                 return entity.printable_value(attrname, format='text/plain')
         elif self.schema.eschema(rset.description[0][col]).final: