Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37563427
en ru br
ALT Linux repositórios
5.0: 3.2.1-alt1
4.1: 2.16.8-alt3
4.0: 2.16.8-alt3
3.0: 2.16.8-alt3

Group :: Rede/WWW
RPM: bugzilla

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: bugzilla-editproducts-minimize.patch
Download


diff -uNr bugzilla-2.16.3-dist/editproducts.cgi bugzilla-2.16.3/editproducts.cgi
--- bugzilla-2.16.3-dist/editproducts.cgi	2003-05-16 12:58:21 +0400
+++ bugzilla-2.16.3/editproducts.cgi	2003-05-16 13:42:13 +0400
@@ -743,18 +743,12 @@
     print "</TR><TR VALIGN=top>\n";
     print "  <TH ALIGN=\"right\"><A HREF=\"editcomponents.cgi?product=", url_quote($product), "\">Edit components:</A></TH>\n";
     print "  <TD>";
-    SendSQL("SELECT value,description
+    SendSQL("SELECT COUNT(*)
              FROM components
              WHERE program=" . SqlQuote($product));
     if (MoreSQLData()) {
-        print "<table>";
-        while ( MoreSQLData() ) {
-            my ($component, $description) = FetchSQLData();
-            $description ||= "<FONT COLOR=\"red\">description missing</FONT>";
-            print "<tr><th align=right valign=top>$component:</th>";
-            print "<td valign=top>$description</td></tr>\n";
-        }
-        print "</table>\n";
+        my ($count) = FetchSQLData();
+        print "$count";
     } else {
         print "<FONT COLOR=\"red\">missing</FONT>";
     }
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009