[#3477] We only use the table anyway
This commit is contained in:
parent
c9ad2995f1
commit
7d09624bbe
1 changed files with 1 additions and 1 deletions
|
@ -139,8 +139,8 @@ class ProcedurePresentation < ApplicationRecord
|
|||
|
||||
def eager_load_displayed_fields(dossiers)
|
||||
relations_to_include = displayed_fields
|
||||
.reject { |field| field['table'] == 'self' }
|
||||
.pluck('table')
|
||||
.reject { |table| table == 'self' }
|
||||
.map do |table|
|
||||
case table
|
||||
when 'type_de_champ'
|
||||
|
|
Loading…
Reference in a new issue