mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: dashboard's My Packages should not have comaintained packages
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
c39a648bf2
commit
bfe48a7d76
1 changed files with 3 additions and 1 deletions
|
@ -179,7 +179,9 @@ async def index(request: Request):
|
|||
).limit(50).all()
|
||||
|
||||
# Packages that the request user maintains or comaintains.
|
||||
context["packages"] = maintained.order_by(
|
||||
context["packages"] = maintained.filter(
|
||||
models.User.ID == models.PackageBase.MaintainerUID
|
||||
).order_by(
|
||||
models.PackageBase.ModifiedTS.desc(), models.Package.Name.desc()
|
||||
).limit(50).all()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue