1
0
Files
AstralRinth/apps/labrinth
Emma Alexia 863bf62f8d Fix updated field including deleted versions (#3643)
* Fix `updated` field including deleted versions

Four years ago, I created issue modrinth/labrinth#200. Today, while it adorns a different name (modrinth/code#2766), the issue remains the same. In celebration of Modrinth's oldest bug report, here is a fix.

Instead of having a separate `updated` field, it simply pulls the publish date of the most recent version. This should also allow the `updated` column on the `mods` table to be dropped at a later date, but I would rather get confirmation that it works before we go ahead with that.

Fixes #2766

* Update apps/labrinth/src/database/models/project_item.rs

Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
Signed-off-by: Emma Alexia <wafflecoffee7@gmail.com>

---------

Signed-off-by: Emma Alexia <wafflecoffee7@gmail.com>
Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
2025-05-12 18:19:30 +00:00
..
2024-12-11 19:54:18 -08:00
2024-10-16 14:11:42 -07:00
2025-05-09 12:27:55 +00:00
2024-10-16 14:11:42 -07:00
2025-05-09 12:27:55 +00:00
2025-05-02 15:40:34 +00:00
2024-10-16 14:11:42 -07:00
2024-10-19 12:39:46 -07:00

labrinth banner

Modrinth's laboratory for its backend service & API!

For contributing information, please see the labrinth section of the Modrinth contributing guide. For documentation on the API itself, see the API Spec.