This makes it easier to bookmark the page for custom values. Also make the action nameless for a cleaner URL.
Signed-off-by: Francois Gouget fgouget@codeweavers.com --- testbot/web/Stats.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testbot/web/Stats.pl b/testbot/web/Stats.pl index 8433c6d37..39c28789c 100644 --- a/testbot/web/Stats.pl +++ b/testbot/web/Stats.pl @@ -44,6 +44,7 @@ sub _initialize($$$) CreateBasicPropertyDescriptor("Days", "Days to analyze", !1, 1, "N", 2), ); $self->SUPER::_initialize($Request, $RequiredRole, @PropertyDescriptors); + $self->{Method} = "get";
if (!$self->GetParam("Days") or !$self->Validate() or !int($self->GetParam("Days"))) # 00 case! @@ -368,7 +369,7 @@ sub GenerateBody($) sub GetActions($) { #my ($self) = @_; - return ["Update"]; + return [".Update"]; }
sub GenerateFooter($)