demarches-normaliennes/app
Pierre de La Morinerie 185c74d891 dossier: fix SQL deprecation error
ActiveRecord 6.1 disallows passing strings to the `order()` function, to
prevent SQL injections.

Here we know that the order string is safe: `ts_vector` is constant,
and `ts_query` is properly escaped.

Wrap the SQL fragment in Arel.sql to bypass the error.
2021-03-25 13:24:53 +01:00
..
assets gems: upgrade to Sprockets 4 2021-02-24 17:09:51 +01:00
controllers experts_procedure should not be optional 2021-03-23 13:46:33 +01:00
dashboards bump administrate 2020-09-21 11:15:25 +02:00
fields manager: remove support for old pj 2019-07-30 16:11:17 +02:00
graphql modify api and serializer 2021-03-24 17:47:24 +01:00
helpers detect staging env 2021-03-24 15:30:12 +01:00
javascript focus to target after toggle 2021-03-17 11:31:51 +01:00
jobs active_storage: refactor concerns 2021-03-16 11:49:14 +01:00
lib remove dead code 2021-03-16 15:13:17 +01:00
mailers change avis invitation mailer 2021-03-18 11:38:52 +01:00
models remove useless code in models 2021-03-24 17:47:24 +01:00
policies policies: clarify the role of ChampPolicy 2020-06-24 15:42:30 +02:00
schemas Add api address external data fetch 2021-02-17 19:10:16 +01:00
serializers modify experts avis controllers, concern and serializer 2021-03-18 11:38:52 +01:00
services dossier: fix SQL deprecation error 2021-03-25 13:24:53 +01:00
validators Add geo json validation 2021-03-11 15:51:09 +01:00
views i18n: localize users/sign_in page 2021-03-25 11:59:05 +01:00