mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Fix ransack gem association response
This commit is contained in:
parent
6a41762904
commit
d0eec1da3e
3 changed files with 4 additions and 4 deletions
|
@ -98,7 +98,7 @@ module Admin
|
|||
date_until_param = params[:q][:receipt_date_lteq] if params[:q][:receipt_date_lteq].present?
|
||||
date_until = date_until_param ? Time.zone.parse(date_from_param) : Float::INFINITY
|
||||
|
||||
invoices.where(account_activity: { created_at: date_from..date_until })
|
||||
invoices.where(account_activities: { created_at: date_from..date_until })
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue