• Adam Hegyi's avatar
    Fix project insights with projects.only parameter · 67334f00
    Adam Hegyi authored
    This change filters out charts where the currently visited project is
    filtered out via the `projects.only` parameter.
    
    Also fixing the finder to return always an ActiveRecord::Relation
    object in order to avoid nil errors when chaining AR scopes.
    67334f00
insights_spec.js 4.28 KB