From 137adc006b783dc9444d051625ab4d59456840cd Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 23 May 2023 13:26:38 +0200 Subject: [PATCH 1/1] fix --- src/catalogue/models/tag.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/catalogue/models/tag.py b/src/catalogue/models/tag.py index 1051741bd..d77c84376 100644 --- a/src/catalogue/models/tag.py +++ b/src/catalogue/models/tag.py @@ -161,6 +161,8 @@ class Tag(models.Model): # TODO: remove magic. if self.category == 'set': return reverse('social_my_shelf') + elif self.category == 'thing': + return '' else: return reverse(f'{self.category}_catalogue') -- 2.20.1