##// END OF EJS Templates
Fixed loading tag threads when hidden tags exist
neko259 -
r1195:d0993847 default
parent child Browse files
Show More
@@ -71,7 +71,7 b' class SettingsManager:'
71 71 tag_names = self.get_setting(SETTING_FAVORITE_TAGS)
72 72 tags = []
73 73 if tag_names:
74 tags = Tag.objects.filter(name__in=tag_names)
74 tags = list(Tag.objects.filter(name__in=tag_names))
75 75 return tags
76 76
77 77 def add_fav_tag(self, tag):
@@ -95,7 +95,7 b' class SettingsManager:'
95 95 tag_names = self.get_setting(SETTING_HIDDEN_TAGS)
96 96 tags = []
97 97 if tag_names:
98 tags = Tag.objects.filter(name__in=tag_names)
98 tags = list(Tag.objects.filter(name__in=tag_names))
99 99
100 100 return tags
101 101
General Comments 0
You need to be logged in to leave comments. Login now