From 975c275718f2ac639517e85de4cf1bde9fe001ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 31 Dec 2023 12:05:38 +0100 Subject: [PATCH] name PSQL subquery --- src/render_site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render_site.py b/src/render_site.py index db6039d..f458929 100644 --- a/src/render_site.py +++ b/src/render_site.py @@ -555,7 +555,7 @@ def get_variant_rating_progression(): " INNER JOIN variant_base_ratings" " ON variants.id = variant_base_ratings.variant_id " " WHERE variants.rating_type = %s" - ") " + ") AS t " "ORDER BY rank", (rating_type, rating_type) )