Nettoyer le paramètre order_by des layers/fields
Sentry Issue: COCARTO-61
NoMethodError: undefined method `to_unsafe_h' for "daecd0f8-61c7-4ea1-b9f6-217220e3dfe9":String (NoMethodError)
field_id, direction = order_by_param.to_unsafe_h.first
^^^^^^^^^^^^
app/controllers/concerns/ordering.rb:30:in `from_params'
field_id, direction = order_by_param.to_unsafe_h.first
app/controllers/concerns/ordering.rb:12:in `set_row_order_from_params'
@row_order ||= Order.from_params(params)
app/controllers/application_controller.rb:48:in `rescue_unauthorized'
yield
app/controllers/application_controller.rb:44:in `set_sentry_user'
yield
app/controllers/application_controller.rb:33:in `restore_anonymous_session'
yield
...
(94 additional frame(s) were not displayed)
C’est un bot qui a généré l’erreur, c’est probablement impossible en usage normal; autant se protéger.