mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Store comments on a per-package base basis
Move comments from the Packages table to PackageBases. Sharing comments makes sense since they almost always refer to a source package. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
b7941073ac
commit
d35cf67f7b
4 changed files with 49 additions and 47 deletions
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
$uid = uid_from_sid($SID);
|
||||
$count = package_comments_count($row['ID']);
|
||||
$base_id = pkgbase_from_pkgid($row['ID']);
|
||||
$count = package_comments_count($base_id);
|
||||
$pkgname = $row['Name'];
|
||||
?>
|
||||
<div id="news">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue