lib/gooddata/lcm/actions/collect_meta.rb in gooddata-0.6.52 vs lib/gooddata/lcm/actions/collect_meta.rb in gooddata-0.6.53
- old
+ new
@@ -43,13 +43,15 @@
segment_tags = segments_to_tags[info.segment]
production_tags = Helpers.parse_production_tags(params.production_tag, segment_tags)
if transfer_all || production_tags.empty?
- objects = GoodData::Dashboard.all(
+ old_dashboards = GoodData::Dashboard.all(
project: from_project,
client: development_client
)
+ kpi_dashboards = MdObject.query('analyticalDashboard', MdObject, client: development_client, project: from_project)
+ objects = old_dashboards.to_a + kpi_dashboards.to_a
else
objects = GoodData::Dashboard.find_by_tag(
production_tags,
project: from_project,
client: development_client