From 53c466e6e5dd95d1d29503d2b88b4b41c0917cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Erik=20=C3=95unapuu?= Date: Mon, 4 May 2020 14:53:50 +0300 Subject: [PATCH] Default fixture for business addr --- app/models/contact.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/contact.rb b/app/models/contact.rb index ac6facbe8..aa2f32140 100644 --- a/app/models/contact.rb +++ b/app/models/contact.rb @@ -260,8 +260,8 @@ class Contact < ApplicationRecord private def registrant_user_indirect_contacts(registrant_user) - ident = registrant_user.companies.collect(&:registration_number) - + # ident = registrant_user.companies.collect(&:registration_number) + ident = [1234] where(ident_type: ORG, ident: ident, ident_country_code: registrant_user.country.alpha2)