Skip to content

Commit

Permalink
Merge pull request #237 from looker-open-source/fix-query-slug
Browse files Browse the repository at this point in the history
fix: use query_slug in merge query api
  • Loading branch information
drstrangelooker authored Feb 20, 2024
2 parents be9be2d + beb1524 commit 6bef22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gzr/modules/dashboard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def cat_dashboard(dashboard_id)
if merge_result
merge_result[:source_queries].each_index do |j|
source_query = merge_result[:source_queries][j]
merge_result[:source_queries][j][:query] = query(source_query[:query_id]).to_attrs
merge_result[:source_queries][j][:query] = query(source_query[:query_slug] || source_query[:query_id]).to_attrs
end
find_vis_config_reference(merge_result) do |vis_config|
find_color_palette_reference(vis_config) do |o,default_colors|
Expand Down

0 comments on commit 6bef22f

Please sign in to comment.