```ruby
class Admin::RepositoryOrganisationsController < Admin::ApplicationController
  def show
    @org = RepositoryOrganisation.find_by_login(params[:login])
    @top_repos = @org.repositories.open_source.source.order('status ASC NULLS FIRST, rank DESC NULLS LAST').limit(10)
    @total_commits = @org.repositories.map{|r| r.contributions.sum(:count) }.sum
  end
end
```

Load admin orgs from correct host
user
```ruby
class Admin::RepositoryOrganisationsController < Admin::ApplicationController
  def show
    @org = RepositoryOrganisation.host(current_host).find_by_login(params[:login])
    @top_repos = @org.repositories.open_source.source.order('status ASC NULLS FIRST, rank DESC NULLS LAST').limit(10)
    @total_commits = @org.repositories.map{|r| r.contributions.sum(:count) }.sum
  end
end
```
assistant