X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=MTrackWeb.php;h=83563cc9e104eb4abd8708aa49275f14bf84bd9f;hb=fba5af4ab66a48bfc7066475196bb1ab182e848b;hp=0fdf0698dc1e14e67f941b16a7de68f215faec68;hpb=325b3f2e68990b83fb16019157d5ddd3e2b218c2;p=web.mtrack diff --git a/MTrackWeb.php b/MTrackWeb.php index 0fdf0698..83563cc9 100644 --- a/MTrackWeb.php +++ b/MTrackWeb.php @@ -162,7 +162,10 @@ class MTrackWeb extends HTML_FlexyFramework_Page $p->whereAdd("Projects.id in (SELECT ProjectDirectory.project_id FROM ProjectDirectory WHERE person_id = ". $this->authUser->id . " and role != '')"); } + /* + * SOME PROJECTS MIGHT NOT HAVE REPO's... $p->whereAdd('id in (SELECT distinct(project_id) FROM mtrack_repos)'); + */ // $pd->whereAdd("role != ''"); $p->orderBy('Projects.name ASC');