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

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



This helps find issues for packages with a lot of failing architectures.
---
 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" : ""),
-- 
2.6.1


Reply to: