opencivicdata/imago — pull request #11 by evz (2013-11-21 18:00:36+00:00)
Title: Created PeopleListDetail view

In our experiments with using imago, we found it useful to have a view where we could get a listing of people who are members of a given organization which included all of the details of their various memberships as well. The implementation here is kinda less than optimal since the only way to make that work with the way that the data is modeled in anthropod is to loop over all the people that are members of an organization and fetch that data from the memberships collection one at a time. At least that's the only way I could figure it out.

It seems like there is also an opportunity to simplify this code a bit to comply with more of a DRY philosophy (since the new view is basically the guts of the PeopleList view and the PersonDetail view munged together).