--- a/web/views/basecontrollers.py Thu Oct 22 11:01:50 2009 +0200
+++ b/web/views/basecontrollers.py Thu Oct 22 11:02:50 2009 +0200
@@ -131,7 +131,7 @@
req.set_message(req._("You have no access to this view or it can not "
"be used to display the current data."))
self.warning("the view %s can not be applied to this query", vid)
- vid = vid_from_rset(req, rset, self.schema)
+ vid = req.form.get('fallbackvid') or vid_from_rset(req, rset, self.schema)
view = self.vreg['views'].select(vid, req, rset=rset)
return view, rset