Remove dead code
Should have been removed as part of #2720 but was accidentally reintroduced in #2770
This commit is contained in:
parent
064b5c1d7b
commit
07b8838561
1 changed files with 0 additions and 6 deletions
|
@ -104,12 +104,6 @@ class ProcedurePresentation < ApplicationRecord
|
|||
when 'self'
|
||||
date = filter['value'].to_date rescue nil
|
||||
dossiers.where("DATE_TRUNC('day', #{column}) = ?", date)
|
||||
|
||||
when 'france_connect_information'
|
||||
dossiers
|
||||
.includes(user: :france_connect_information)
|
||||
.where("? ILIKE ?", "france_connect_informations.#{filter['column']}", "%#{filter['value']}%")
|
||||
|
||||
when 'type_de_champ', 'type_de_champ_private'
|
||||
relation = table == 'type_de_champ' ? :champs : :champs_private
|
||||
dossiers
|
||||
|
|
Loading…
Reference in a new issue