mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-13 00:24:42 +08:00
Merge pull request #8662 from artoscinote/ma_SCI_12128
Fix unlink_unshared_items in repository.rb [SCI-12128]
This commit is contained in:
commit
c4ecfad54b
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ class Repository < RepositoryBase
|
|||
repository_rows_ids,
|
||||
repository_rows_ids)
|
||||
.joins(:repository)
|
||||
.where.not(repositories: self)
|
||||
.where.not(repository: self)
|
||||
.where.not(repositories: { team: team })
|
||||
.distinct
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue