Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project collections #15

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improvements to the project section of the organisation page.
  • Loading branch information
chrisala committed Jan 23, 2015
commit 5f5466147e15cde8d30fdb9b3147f0bc90ca28bd
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ProjectService {
def dbo = prj.getProperty("dbo")
def mapOfProperties = dbo.toMap()
if (levelOfDetail == BRIEF) {
return [projectId: prj.projectId, name: prj.name, description:prj.description, plannedStartDate:prj.plannedStartDate, plannedEndDate:prj.plannedEndDate, associatedProgram:prj.associatedProgram, associatedSubProgram:prj.associatedSubProgram]
return [projectId: prj.projectId, name: prj.name, grantId:prj.grantId, externalId:prj.externalId, funding:prj.funding, description:prj.description, status:prj.status, plannedStartDate:prj.plannedStartDate, plannedEndDate:prj.plannedEndDate, associatedProgram:prj.associatedProgram, associatedSubProgram:prj.associatedSubProgram]
}
def id = mapOfProperties["_id"].toString()
mapOfProperties["id"] = id
Expand Down