From 687e8599fd1241a043675f900ec13aa4d77135ab Mon Sep 17 00:00:00 2001 From: db0 Date: Tue, 3 Oct 2023 10:21:36 +0200 Subject: [PATCH] fix: tag delete --- CHANGELOG.md | 4 ++++ fediseer/consts.py | 2 +- fediseer/database/functions.py | 2 +- fediseer/templates/index.md | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cce041a..9206edc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +# 0.19.1 + +* Fixed Deleting tags + # 0.19.0 * Added instance Tags. Instance owners can add and remove them diff --git a/fediseer/consts.py b/fediseer/consts.py index 964acf5..b2189d3 100644 --- a/fediseer/consts.py +++ b/fediseer/consts.py @@ -1,4 +1,4 @@ -FEDISEER_VERSION = "0.19.0" +FEDISEER_VERSION = "0.19.1" SUPPORTED_SOFTWARE = { "lemmy", "mastodon", diff --git a/fediseer/database/functions.py b/fediseer/database/functions.py index 6657fac..fd03232 100644 --- a/fediseer/database/functions.py +++ b/fediseer/database/functions.py @@ -486,7 +486,7 @@ def instance_has_flag(instance_id, flag_enum): def get_instance_tag(instance_id, tag: str): query = InstanceTag.query.filter( InstanceTag.instance_id == instance_id, - InstanceTag.flag == tag, + InstanceTag.tag == tag, ) return query.first() diff --git a/fediseer/templates/index.md b/fediseer/templates/index.md index a44a90e..22d3a7f 100644 --- a/fediseer/templates/index.md +++ b/fediseer/templates/index.md @@ -33,5 +33,6 @@ However using the endorsement system, you can create a further customized whitel These are the people who made this software possible. * [Db0](https://dbzer0.com) - Development and Maintenance. +* [Rikudou](https://lemmings.world/u/rikudou) - GUI Development. \ No newline at end of file