[tools 2/4] testbot/cgi: Pass the full key to the details page.
Francois Gouget
fgouget at codeweavers.com
Tue Jun 7 11:49:43 CDT 2022
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>
---
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 7d42ba2c2..0f0a3bd6b 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};
}
--
2.30.2
More information about the wine-devel
mailing list