Merge pull request #10806 from mfo/US/fix-number-not-number-in-filters

Correctif: ETQ instructeur, la recherche par numéro de dossier ne doit accepter que des numero
This commit is contained in:
mfo 2024-09-17 14:39:08 +00:00 committed by GitHub
commit 1e0391c9dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ module ColumnsConcern
end
def dossier_columns
common = [Column.new(table: 'self', column: 'id', classname: 'number-col'), Column.new(table: 'notifications', column: 'notifications', label: "notifications", filterable: false)]
common = [Column.new(table: 'self', column: 'id', classname: 'number-col', type: :number), Column.new(table: 'notifications', column: 'notifications', label: "notifications", filterable: false)]
dates = ['created_at', 'updated_at', 'depose_at', 'en_construction_at', 'en_instruction_at', 'processed_at']
.map { |column| Column.new(table: 'self', column:, type: :date) }