mirror of
https://github.com/internetee/registry.git
synced 2025-07-12 05:58:23 +02:00
Merge branch '110152326-is_registrant_filter' into staging
This commit is contained in:
commit
28ec97fe2f
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Registrar::ContactsController < Registrar::DeppController # EPP controller
|
|||
|
||||
normalize_search_parameters do
|
||||
@q = contacts.search(search_params)
|
||||
@contacts = @q.result.page(params[:page])
|
||||
@contacts = @q.result(distinct: :true).page(params[:page])
|
||||
end
|
||||
|
||||
@contacts = @contacts.per(params[:results_per_page]) if params[:results_per_page].to_i > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue