Hi Matt,
Here is solution for you:
1 Open "Phases" page.
2 Navigate to "data" tab.
3 Find there "list_Phase" datasource and click "Edit Mapping".
4 Find here "where" request parameter and click "Add JS"/"Edit JS".
5 Currently you have here following code:
pre
var locProj = localStorage.getItem("_projectNameForNav");
return '{"$and": [{"accountID":"'+value+'"},{"projectName":"'+locProj+'"}]}';
/pre
6 you need to replace it with code below:
pre
var parentId = localStorage.getItem("parentId");
var whereObject = {"projectID": {"collName":"Projects", "id": parentId} };
return JSON.stringify(whereObject);
/pre
That's all. Now when you click on "project" you will be redirected to "Phases" page with "Phase" items belong to this clicked project.
Regards.