Skip to content
Snippets Groups Projects
Commit d7dfb41f authored by Gandalf's avatar Gandalf
Browse files

[JES] Fix a bug in a refactor regarding tags

parent 382f8bbc
No related branches found
No related tags found
5 merge requests!456Release candidate v1 24,!230Setup monitoring with pghero,!135Enable postgres monitoring on CI server,!16Dk issue 3 concurrent block query rebase,!15Dk issue 3 concurrent block query
......@@ -197,7 +197,7 @@ async def get_discussions_by(discussion_type, context, start_author: str = '',
sql = "---get_discussions_by_" + discussion_type + "\r\n" + SELECT_FRAGMENT
if tag and tag != 'all':
sql = sql + """ JOIN hive_post_tags on (hive_posts_cache.post_id = hive_post_tags.tag) """
sql = sql + """ JOIN hive_post_tags on (hive_posts_cache.post_id = hive_post_tags.post_id) """
sql = sql + """ WHERE NOT hive_posts.is_deleted """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment