X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/87e9c0e26ff55582a993a8e11902e8657647f59a..45f10d80d1b584808a6e375214b5be6bc7d2a730:/apps/workbench/app/controllers/projects_controller.rb diff --git a/apps/workbench/app/controllers/projects_controller.rb b/apps/workbench/app/controllers/projects_controller.rb index 44c85185c7..e49ed1fab6 100644 --- a/apps/workbench/app/controllers/projects_controller.rb +++ b/apps/workbench/app/controllers/projects_controller.rb @@ -184,7 +184,11 @@ class ProjectsController < ApplicationController end def find_objects_for_index - @objects = all_projects + # We can use the all_projects helper, but we have to dup the + # result -- otherwise, when we apply our per-request filters and + # limits, they will infect the @all_projects cache too (see + # #6640). + @objects = all_projects.dup super end