From fba5af4ab66a48bfc7066475196bb1ab182e848b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 28 Dec 2017 15:16:04 +0800 Subject: [PATCH] MTrackWeb.php --- MTrackWeb.php | 3 +++ 1 file changed, 3 insertions(+) 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'); -- 2.39.2