Module: tools Branch: master Commit: c18c125f01e39bc6ba82dd36b118adbbf88cc5da URL: https://source.winehq.org/git/tools.git/?a=commit;h=c18c125f01e39bc6ba82dd36...
Author: Francois Gouget fgouget@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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}; }