From 5a694b4446bbeba3c9435c0ba654121d60774483 Mon Sep 17 00:00:00 2001 From: Dave Roberts Date: Fri, 19 Jun 2026 12:08:31 +0000 Subject: [PATCH] Fix graphs not allowing grouping with no date --- lib/GADS/Graph.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GADS/Graph.pm b/lib/GADS/Graph.pm index 6c4cf9dd5..3c3dd6f9a 100644 --- a/lib/GADS/Graph.pm +++ b/lib/GADS/Graph.pm @@ -411,7 +411,7 @@ sub write error __"Dates and grouping must be entered for a custom range" if $x_axis_col && $x_axis_col->return_type =~ /date/ && $newgraph->{x_axis_range} && $newgraph->{x_axis_range} eq 'custom' - && (!$newgraph->{from} || !$newgraph->{to} || !$newgraph->{x_axis_grouping}); + && (!$newgraph->{x_axis_grouping}); error __"A single field must be selected for the x-axis when using the historic trend option" if !$newgraph->{x_axis} && $self->trend;