Fix project insights with projects.only parameter
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.
Showing
Please register or sign in to comment