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 28aff03..6ec12ec 100644
--- a/gentoobrowse/views/package.xml
+++ b/gentoobrowse/views/package.xml
@@ -14,6 +14,18 @@
<param bind="0" value="/1" />
<param bind="1" value="/2" />
</parameters>
+ <project2:sqlview name="tracks" recordname="track" datasource="postgres">
+ <sql>
+ SELECT trackedsince
+ FROM user_packages up
+ WHERE up.packageid = ?
+ AND up.userid = ?
+ </sql>
+ <parameters>
+ <param bind="0" value="^packageid" />
+ <param bind="1" value="%loggedInUserID|0" />
+ </parameters>
+ </project2:sqlview>
<project2:sqlview name="versions" recordname="version" datasource="postgres">
<sql>
SELECT e.ebuildid, e.version