Fix shared database sync (relates to PR #610)
This commit is contained in:
parent
567e27d99a
commit
d669edb173
1 changed files with 0 additions and 1 deletions
|
@ -55,7 +55,6 @@ class Supplier < ApplicationRecord
|
|||
unless shared_sync_method == 'import'
|
||||
shared_supplier
|
||||
.shared_articles
|
||||
.where(available: true)
|
||||
.where.not(id: existing_articles)
|
||||
.each { |shared_article| new_articles << shared_article.build_new_article(self) }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue