simply test if rset is None... tls-sprint
authorsylvain.thenault@logilab.fr
Fri, 20 Feb 2009 01:47:43 +0100
branchtls-sprint
changeset 881 18e6c8db7bc5
parent 880 d46cf89ead07
child 882 75488a2a875e
simply test if rset is None...
view.py
--- a/view.py	Fri Feb 20 01:15:37 2009 +0100
+++ b/view.py	Fri Feb 20 01:47:43 2009 +0100
@@ -386,7 +386,7 @@
         """return the url associated with this view. We can omit rql if we are
         on a result set on which we do not apply.
         """
-        if not self.__select__(self.req, self.rset):
+        if self.rset is None:
             return self.build_url(vid=self.id)
         return super(EntityStartupView, self).url()