-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
🐛bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
Description
When an issue relationship is established and then removed, the issue can no longer be found in the search bar for re-linking. This seems to happen because the search logic excludes issues with deleted relationships.
Expected Behavior
Issues with previously deleted relationships should still be searchable and selectable for re-linking.
Possible Cause
The search logic likely filters out relationships where deleted_at is not NULL.
Relevant code:
apiserver/plane/app/views/search/issue.py#L55
Steps to reproduce
- Create a relationship between two issues (e.g., Issue A and Issue B).
- Remove the relationship between Issue A and Issue B.
- Try to search for Issue B in the "Relates to" search bar for Issue A.
- Observe that Issue B does not appear in the search results.
Environment
Production
Browser
Google Chrome
Variant
Self-hosted
Version
v0.24.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐛bugSomething isn't workingSomething isn't working