mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 10:08:11 +08:00
Remove select
This commit is contained in:
parent
69d086ba32
commit
a93e2a5d6f
1 changed files with 0 additions and 1 deletions
|
@ -151,7 +151,6 @@ module ReportsHelper
|
|||
.where(original_repositories_repositories: { id: nil })
|
||||
.select('DISTINCT ON ("repositories"."parent_id") "repositories".*')
|
||||
.order(:parent_id, updated_at: :desc)
|
||||
.select(:id, :name)
|
||||
|
||||
snapshots.each { |snapshot| snapshot.name = "#{snapshot.name} #{t('projects.reports.index.deleted')}" }
|
||||
(live_repositories + snapshots).sort_by { |r| r.name.downcase }
|
||||
|
|
Loading…
Reference in a new issue