feat: add "Last Updated" column to search results

Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
moson-mo 2023-01-18 21:55:01 +01:00
parent becce1aac4
commit ec239ceeb3
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
3 changed files with 23 additions and 1 deletions

View file

@ -102,6 +102,7 @@ async def packages_get(
models.PackageBase.Popularity,
models.PackageBase.NumVotes,
models.PackageBase.OutOfDateTS,
models.PackageBase.ModifiedTS,
models.User.Username.label("Maintainer"),
models.PackageVote.PackageBaseID.label("Voted"),
models.PackageNotification.PackageBaseID.label("Notify"),