Query Search doesn't seem to be working correctly. Returning results from other attributes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 431
- Forks
- 179
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 71
Description
Describe the bug
- I have two search filters “CustomString1” = “default-pd-dhang” and “CustomString2” = “pd-framework-demo” but when i try to search “CustomString1” = “pd-framework-demo” it returns me the workflow, but “pd-framework-demo” is set to “CustomString2"
- When trying to search for partial text, it doesn't work. Seems to have to have exact match.
To Reproduce
Steps to reproduce the behavior:
Problem 1:
- Create search-attributes "CustomString1" and "CustomString2" as Text Type
- Create a workflow that set "CustomString1" = "default-pd-dhang" and "CustomString2" = “pd-framework-demo”
- Go to UI, and query
CustomString1 = “pd-framework-demo”. This returns a workflow. This should not return anything since it's set toCustomString2
Problem 2:
- Create search-attributes "CustomString1" and "CustomString2" as Text Type
- Create a workflow that set "CustomString1" = "default-pd-dhang"
- Go to UI, and query
CustomString1 = “default”. Would expect a workflow to show up but it doesn't
Expected behavior
Problem 1:
- Typing in a query string for another custom search attribute should not return anything.
Problem 2:
- Text should allow partial search
Screenshots
If applicable, add screenshots to help explain your problem.
Problem 1:
Looks like it attribute name doesnt' matter and its just compares the result to all attributes

Problem 2:

Sometimes works...

Then it doesn't

- OS: osx
- Browser chrome
- Version: 2.10.3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the UI query search flow and reproduce both reported cases using the steps in the issue. Trace how custom text attributes are selected and matched, then verify that an attribute-specific exact query excludes other attributes and that partial text searches return matching workflows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100