get satisfaction has topics with no body
This commit is contained in:
parent
23ed7e9db8
commit
23513eaf87
|
@ -276,7 +276,7 @@ class ImportScripts::GetSatisfaction < ImportScripts::Base
|
||||||
title: topic.subject,
|
title: topic.subject,
|
||||||
deleted: topic.removed == "1",
|
deleted: topic.removed == "1",
|
||||||
closed: true,
|
closed: true,
|
||||||
body: topic.additional_detail && normalize_raw!(topic.additional_detail),
|
body: normalize_raw!(topic.additional_detail || topic.subject || "<missing>"),
|
||||||
created_at: DateTime.parse(topic.created_at),
|
created_at: DateTime.parse(topic.created_at),
|
||||||
user_id: topic.UserId,
|
user_id: topic.UserId,
|
||||||
category: category.name
|
category: category.name
|
||||||
|
|
Loading…
Reference in New Issue