[tools 2/2] testbot/web: Use the Get method for the Stats page.
Francois Gouget
fgouget at codeweavers.com
Mon Mar 28 10:32:37 CDT 2022
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 at 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($)
--
2.30.2
More information about the wine-devel
mailing list