LinkinStars commented on PR #618:
URL: https://github.com/apache/incubator-answer/pull/618#issuecomment-1805430488
I think this is a bit complicated, maybe you just need to adjust the query
`session.Where("main_tag_id = 0")`. When `main_tag_id = 0` means this tag is
main tag not a synonym. When `main_tag_id != 0`(means this tag is a synonym)
and `slug_name` is equal the query condition, the query result maybe what we
want. How about that?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]