From 743cabc2faacfbf23284e8780c05d94a1e5edc7b Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Tue, 25 Apr 2017 16:10:38 +0200 Subject: [PATCH] Fixed issue #655 - Ticket were shown twice. --- app/models/ticket.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/ticket.rb b/app/models/ticket.rb index 9c49b0e83..863338ca8 100644 --- a/app/models/ticket.rb +++ b/app/models/ticket.rb @@ -57,7 +57,6 @@ class Ticket < ApplicationModel belongs_to :group, class_name: 'Group' has_many :articles, class_name: 'Ticket::Article', after_add: :cache_update, after_remove: :cache_update has_many :ticket_time_accounting, class_name: 'Ticket::TimeAccounting', dependent: :destroy - has_many :recent_views, class_name: 'RecentView', foreign_key: 'o_id', dependent: :destroy belongs_to :organization, class_name: 'Organization' belongs_to :state, class_name: 'Ticket::State' belongs_to :priority, class_name: 'Ticket::Priority'