Revert "adjust shared query"

This reverts commit 56da326709.
pull/698/merge
Pete Matsyburka 3 weeks ago
parent c8e783a210
commit 40d91df732

@ -59,7 +59,6 @@ module Templates
.select(1).arel.exists .select(1).arel.exists
Template.where(id: TemplateSharing.where(account_id: shared_account_ids).select(:template_id)) Template.where(id: TemplateSharing.where(account_id: shared_account_ids).select(:template_id))
.where(account_id: account.linked_account_account.account_id)
.where.not(exists_access) .where.not(exists_access)
end end

Loading…
Cancel
Save