opf/openproject — pull request #49 by apfelfabrik (2013-03-08 15:32:41+00:00)
Title: Speeds up level_list view of projects.

projects.children fetches those children from the DB. this caused the
retrieval of ~2000 projects to take upward of 10 seconds. Asking for
'leaf?' operates on nested set lft and rgt and does not require a
database query.