Skip to content

Commit

Permalink
Followup d0b5cbf - Fixes #3243 - Relational report filters do not wor…
Browse files Browse the repository at this point in the history
…k (ticket.organization.*, ticket.article.*, ticket.customer.*).
  • Loading branch information
rolfschmidt authored and thorsteneckel committed Feb 11, 2021
1 parent 215801e commit 5aabd5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/knowledge_base/answer/translation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ class KnowledgeBase::Answer::Translation < ApplicationModel

belongs_to :kb_locale, class_name: 'KnowledgeBase::Locale', inverse_of: :answer_translations
belongs_to :answer, class_name: 'KnowledgeBase::Answer', inverse_of: :translations, touch: true
#belongs_to :updated_by, class_name: 'User', inverse_of: :answer_translations
belongs_to :created_by, class_name: 'User'
belongs_to :updated_by, class_name: 'User'

belongs_to :content, class_name: 'KnowledgeBase::Answer::Translation::Content', inverse_of: :translation, dependent: :destroy
accepts_nested_attributes_for :content, update_only: true
Expand Down

0 comments on commit 5aabd5c

Please sign in to comment.