• Adam Niedzielski's avatar
    Speed up dashboard milestone index by scoping IssuesFinder to user authorized projects · cf3be218
    Adam Niedzielski authored
    It improves performance in dashboard milestone index page by passing a
    hint to "IssuesFinder". "IssuesFinder" generates a more performant query
    when it is limited to authorized projects for user.
    In the dashboard we already limit the projects to these authorized for
    user (see "Dashboard::ApplicationController#projects"), so we can safely
    pass this option to "IssuesFinder".
dashboard_milestone.rb 110 Bytes