Browse Source

Fixes #4692 - Tree select fields are not selectable in duplicate detection configuration.

Rolf Schmidt 1 year ago
parent
commit
fb0d454f4a

+ 1 - 1
app/assets/javascripts/app/controllers/_manage/ticket_duplicate_detection.coffee

@@ -24,7 +24,7 @@ class App.SettingTicketDuplicateDetection extends App.ControllerSubContent
     options = {}
 
     for attribute in App.Ticket.configure_attributes
-      if _.contains(['input', 'select', 'user_autocompletion', 'boolean', 'date', 'datetime', 'integer'], attribute.tag)
+      if _.contains(['input', 'select', 'tree_select', 'user_autocompletion', 'boolean', 'date', 'datetime', 'integer'], attribute.tag)
         if attribute.readonly isnt 1
           options[attribute.name] = App.i18n.translateInline(attribute.display)