Switch to side-by-side view
--- a/Allura/allura/lib/helpers.py +++ b/Allura/allura/lib/helpers.py @@ -108,7 +108,8 @@ length = len(parts) while length: shortname = '/'.join(parts[:length]) - p = M.Project.query.get(shortname=shortname, deleted=False) + p = M.Project.query.get(shortname=shortname, deleted=False, + neighborhood_id=n._id) if p: return p, parts[length:] length -= 1 return None, url_path.split('/')