summaryrefslogtreecommitdiff
path: root/gentoobrowse/views/package.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse/views/package.xml')
-rw-r--r--gentoobrowse/views/package.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/gentoobrowse/views/package.xml b/gentoobrowse/views/package.xml
index 6ec12ec..ba5041b 100644
--- a/gentoobrowse/views/package.xml
+++ b/gentoobrowse/views/package.xml
@@ -72,6 +72,18 @@
<param bind="0" value="^packageid" />
</parameters>
</project2:sqlview>
+ <project2:sqlview name="packageBugs" recordname="bug" datasource="postgres">
+ <sql>
+ SELECT b.bugid, b.summary
+ FROM bugs b, package_bugs pb
+ WHERE b.bugid = pb.bugid
+ AND pb.packageid = ?
+ ORDER BY b.bugid
+ </sql>
+ <parameters>
+ <param bind="0" value="^packageid" />
+ </parameters>
+ </project2:sqlview>
<project2:sqlview name="deps" recordname="package" datasource="postgres">
<sql>
SELECT distinct cd.name AS catname, pd.name AS pkgname, pd.description