mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Hide fresh package bases from stats and results
Do not show package bases that have just been created in the package update statistics or in the search results. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
9bb93fad75
commit
d1df490370
2 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ function updates_table() {
|
|||
$q = 'SELECT Packages.Name, Version, ModifiedTS, SubmittedTS ';
|
||||
$q.= 'FROM Packages INNER JOIN PackageBases ON ';
|
||||
$q.= 'Packages.PackageBaseID = PackageBases.ID ';
|
||||
$q.= 'WHERE PackageBases.PackagerUID IS NOT NULL ';
|
||||
$q.= 'ORDER BY ModifiedTS DESC LIMIT 10';
|
||||
$result = $dbh->query($q);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue