column: add more identifier

This commit is contained in:
simon lehericey 2024-10-28 10:09:39 +01:00
parent 13356f26c3
commit c8332b5e22
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -38,8 +38,9 @@ class Column
end
def notifications? = [table, column] == ['notifications', 'notifications']
def dossier_state? = [table, column] == ['self', 'state']
def groupe_instructeur? = [table, column] == ['groupe_instructeur', 'id']
def type_de_champ? = table == TYPE_DE_CHAMP_TABLE
def self.find(h_id)
begin