Change list/unlist causes tag display exception
Closed this issue · 1 comments
fenbox commented
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Unlist a question with two or more tag
- Edit the question, remove one tag and add another one
- List the question
- The removed tag is re-displayed
Expected behavior
Removed tags should not be displayed.
Screenshots
20241022-103014.mp4
sosyz commented
@fenbox Hi~
I've identified two issues. First, when restoring hidden tag relationships, we're not filtering out deleted data. Second, when updating questions, the tag relationships default to available status, without considering cases where the question might be hidden.
Please assign this to me, and I'll submit a pull request later.