fix(filters): drop down list filters can have much longer values.

Notre infra supporte des urls d'au moins 8000 caractères, probablement
plus encore, donc on est large.
This commit is contained in:
Colin Darie 2024-10-14 15:36:18 +02:00
parent bac54ba214
commit 1c32a30b80
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
3 changed files with 11 additions and 7 deletions

View file

@ -8,7 +8,7 @@ class ProcedurePresentation < ApplicationRecord
SLASH = '/'
TYPE_DE_CHAMP = 'type_de_champ'
FILTERS_VALUE_MAX_LENGTH = 100
FILTERS_VALUE_MAX_LENGTH = 4048
# https://www.postgresql.org/docs/current/datatype-numeric.html
PG_INTEGER_MAX_VALUE = 2147483647