Skip to content

Commit

Permalink
Customizable chart top values (dropdown choices)
Browse files Browse the repository at this point in the history
Signed-off-by: Hiro Miyamoto <miyamotoh@us.ibm.com>
  • Loading branch information
miyamotoh committed Aug 2, 2023
1 parent ebdf471 commit b74716c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/report_controller/reports/editor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def gfv_charts
else
@edit[:new][:graph_other] = true if @edit[:new][:graph_type].nil? # Reset other setting if choosing first chart
@edit[:new][:graph_type] = params[:chosen_graph] # Save graph type
@edit[:new][:graph_count] ||= chart_top_values # Reset graph count, if not set
@edit[:new][:graph_count] ||= self.class.chart_top_values # Reset graph count, if not set
@edit[:new][:chart_mode] ||= 'counts'
@edit[:new][:chart_column] ||= ''
end
Expand Down

0 comments on commit b74716c

Please sign in to comment.