Files
gitlabhq/spec
Douwe MaanandTomasz Maczukin a834be61eb Merge branch 'todos-filter-project-delete' into 'master'
Ensure we don't show TODOS for projects pending delete

Joins the todos on the projects table in order to run the default scope. Also includes a where clause because the default scope is being removed soon.

An alternative approach, more like the Issues page, would be to filter down the list by passing user.authorized_projects into the where clause.

Or we could just be more defensive in the view when iterating.

Todos page throws 500 error for users with todos in a project pending deletion.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/17813

cc\ @stanhu

See merge request !4300
2016-06-14 22:14:16 +02:00
..
2016-05-12 16:39:03 -05:00
2015-05-28 18:22:32 -04:00