mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Story #105846070 - include results from business registry if found
This commit is contained in:
parent
e266c22741
commit
48ab1c7c7e
1 changed files with 7 additions and 1 deletions
|
@ -40,8 +40,14 @@ class Registrant::DomainsController < RegistrantController
|
||||||
end
|
end
|
||||||
|
|
||||||
def domains
|
def domains
|
||||||
|
ident_cc, ident = @current_user.registrant_ident.split '-'
|
||||||
|
begin
|
||||||
|
BusinessRegistryCache.fetch_associated_domains ident, ident_cc
|
||||||
|
rescue Soap::Arireg::NotAvailableError => error
|
||||||
|
flash[:notice] = I18n.t(error.message[:message])
|
||||||
current_user.domains
|
current_user.domains
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def normalize_search_parameters
|
def normalize_search_parameters
|
||||||
ca_cache = params[:q][:valid_to_lteq]
|
ca_cache = params[:q][:valid_to_lteq]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue