From: Alan Knowles Date: Thu, 28 Dec 2017 07:16:04 +0000 (+0800) Subject: MTrackWeb.php X-Git-Url: http://git.roojs.org/?p=web.mtrack;a=commitdiff_plain;h=fba5af4ab66a48bfc7066475196bb1ab182e848b MTrackWeb.php --- 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');