Convert forum topic visit association attribute to new format

This was added in da3e8e4.
This commit is contained in:
BrokenEagle
2021-01-22 02:54:32 +00:00
parent d06236c66b
commit db68644b65

View File

@@ -7,7 +7,7 @@ class ForumTopicVisit < ApplicationRecord
end
def self.search(params)
q = search_attributes(params, :id, :created_at, :updated_at, :user, :forum_topic_id, :last_read_at)
q = search_attributes(params, :id, :created_at, :updated_at, :user, :forum_topic, :last_read_at)
q.apply_default_order(params)
end