mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 11:14:24 +08:00
Merge pull request #2640 from okriuchykhin/ok_SCI_4728
Fix appearance of snapshots from another my_module in report [SCI-4728]
This commit is contained in:
commit
c8e8b8e2f3
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ class RepositorySnapshot < RepositoryBase
|
|||
Constants::REPOSITORY_SNAPSHOT_TABLE_DEFAULT_STATE['length']
|
||||
end
|
||||
|
||||
def assigned_rows(_my_module)
|
||||
def assigned_rows(my_module)
|
||||
return RepositoryRow.none if my_module != self.my_module
|
||||
|
||||
repository_rows
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue