mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Fix duplicate
This commit is contained in:
parent
09930eada2
commit
21cc868247
1 changed files with 0 additions and 11 deletions
|
@ -57,16 +57,5 @@ module Admin
|
|||
|
||||
params_copy
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def fix_date_params
|
||||
params_copy = params[:q].deep_dup
|
||||
if params_copy['created_at_lteq'].present?
|
||||
params_copy['created_at_lteq'] = Date.parse(params_copy['created_at_lteq']) + 1.day
|
||||
end
|
||||
|
||||
params_copy
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue