From 22d135a6688711b23c28ff4f309defebe2b3bef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= Date: Tue, 16 May 2023 08:17:41 +0300 Subject: [PATCH 1/1] Double-listed subspaces in index IssueID #50 --- model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model.py b/model.py index 9faaa60..21d4d4f 100644 --- a/model.py +++ b/model.py @@ -826,7 +826,7 @@ class Database: cond.append('mods.user=?') values.append(mod) cur.execute(f""" - SELECT + SELECT DISTINCT id, name, info, url, flags, owner, UNIX_TIMESTAMP(ts_created), UNIX_TIMESTAMP(ts_active) FROM subspaces -- 2.34.1