diff options
Diffstat (limited to 'gentoobrowse/views/package.xml')
-rw-r--r-- | gentoobrowse/views/package.xml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gentoobrowse/views/package.xml b/gentoobrowse/views/package.xml index d526df4..cbf9dfc 100644 --- a/gentoobrowse/views/package.xml +++ b/gentoobrowse/views/package.xml @@ -157,15 +157,12 @@ <param bind="0" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="changelog" recordname="line" datasource="postgres-web"> + <project2:sqlview name="changelog" recordname="entry" datasource="postgres-web"> <sql> - SELECT line, content - FROM files f, filecache fc, packages p, categories c - WHERE f.fileid = fc.fileid - AND p.categoryid = c.categoryid - AND f.filename = c.name || '/' || p.name || '/ChangeLog' - AND p.packageid = ? - ORDER BY line + SELECT date, person, email, comment + FROM package_changelogs + WHERE packageid = ? + ORDER BY date DESC, n DESC </sql> <parameters> <param bind="0" value="^packageid" /> |