Francois Gouget : testbot/cgi: Pass the full key to the details page.
Alexandre Julliard
julliard at winehq.org
Tue Jun 7 15:37:01 CDT 2022
Module: tools
Branch: master
Commit: c18c125f01e39bc6ba82dd36b118adbbf88cc5da
URL: https://source.winehq.org/git/tools.git/?a=commit;h=c18c125f01e39bc6ba82dd36b118adbbf88cc5da
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Tue Jun 7 18:49:43 2022 +0200
testbot/cgi: Pass the full key to the details page.
The details page's collection does not have master columns and thus it
needs the full key to load the Item.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/lib/ObjectModel/CGI/CollectionBlock.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/lib/ObjectModel/CGI/CollectionBlock.pm b/testbot/lib/ObjectModel/CGI/CollectionBlock.pm
index 7d42ba2..0f0a3bd 100644
--- a/testbot/lib/ObjectModel/CGI/CollectionBlock.pm
+++ b/testbot/lib/ObjectModel/CGI/CollectionBlock.pm
@@ -239,7 +239,7 @@ sub GetDetailsLink($$)
if (!$Row->{DetailsLink})
{
- $Row->{DetailsLink} = "$Row->{DetailsPage}?Key=". uri_escape($Row->{Item}->GetKey());
+ $Row->{DetailsLink} = "$Row->{DetailsPage}?Key=". uri_escape($Row->{Item}->GetFullKey());
}
return $Row->{DetailsLink};
}
More information about the wine-cvs
mailing list