Merge pull request #2672 from betagouv/frederic/fix_2613-cosmetic_improvement
Fix cosmétique
This commit is contained in:
commit
0b990fd6ec
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ namespace :'2018_09_20_procedure_presentation_entreprise' do
|
|||
ProcedurePresentation.find_by_sql(
|
||||
<<~SQL
|
||||
SELECT procedure_presentations.*, array_agg(key) as keys
|
||||
FROM procedure_presentations, LATERAL jsonb_each_text(filters)
|
||||
WHERE value::jsonb @> '[{"table": "entreprise"}]'
|
||||
FROM procedure_presentations, LATERAL jsonb_each(filters)
|
||||
WHERE value @> '[{"table": "entreprise"}]'
|
||||
GROUP BY id;
|
||||
SQL
|
||||
).each do |procedure_presentation|
|
||||
|
|
Loading…
Reference in a new issue