def activities
      query = Audited::Adapters::ActiveRecord::Audit.where(auditable_id: translation_ids).all
      query = query.where("DATE(created_at) <= DATE(?)", created_at_lteq) unless created_at_lteq.blank?
      query = query.where("DATE(created_at) >= DATE(?)", created_at_gteq) unless created_at_gteq.blank?
      query.order('created_at DESC')
    end
def activities
      query = Audited::Adapters::ActiveRecord::Audit.where(auditable_id: translation_ids).all
      query = query.where("DATE(created_at) <= DATE(?)", created_at_lteq) unless created_at_lteq.blank?
      query = query.where("DATE(created_at) >= DATE(?)", created_at_gteq) unless created_at_gteq.blank?
      query.order('created_at DESC')
    end
retuns and ActiveRecord Relation of Audit(s) that matches this search criteria