[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [pgstatus] [PATCH] Link to the problem arch instead of the top of the problems section.



Hi,

On 2015-10-24 12:18, Paul Wise wrote:
This helps find issues for packages with a lot of failing architectures.

Thanks for the patch! I've applied it and went live.

---
 library.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library.php b/library.php
index 7a71c9c..5230e18 100644
--- a/library.php
+++ b/library.php
@@ -982,7 +982,7 @@ function single($info, $version, $log, $arch,
$suite, $problemid) {
       $class .= "-vancouvered";
     $anchor = "";
     if (in_array($info["state"], $badstate)) {
-      $anchor = sprintf("&nbsp;<a href=\"#issues-%s\">↓</a>",
urlencode($info["package"]));
+ $anchor = sprintf("&nbsp;<a href=\"#problem-%s\">↓</a>", $problemid);
     }
     printf("<tr class=\"%s\"><td>%s %s%s</td><td>%s</td><td %s
class=\"status %s\"
title=\"%s\">%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>\n",
 	   (vancouvered_arch($info["architecture"], $info["distribution"]) ?
"vancouvered" : ""),


Reply to: