ui
ui copied to clipboard
Query Search doesn't seem to be working correctly. Returning results from other attributes
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
This also happens with the tctl so It's prob an issue with the service...
Thanks @darewreck54 for the issue report!
Checking out first one issue, will report back.
For the second issue, currently the server does not support partial search so this is expected behavior.
Hmm from the screen shot it looks like it is returning partial search sometimes. And sometimes not. What’s the diff between using keyword vs text then if you can’t use partial search?
Get Outlook for iOShttps://aka.ms/o0ukef
From: Alex Tideman @.> Sent: Friday, April 14, 2023 10:23:24 AM To: temporalio/ui @.> Cc: Derek @.>; Mention @.> Subject: Re: [temporalio/ui] Query Search doesn't seem to be working correctly. Returning results from other attributes (Issue #1282)
Thanks @darewreck54https://github.com/darewreck54 for the issue report!
Checking out first one issue, will report back.
For the second issue, currently the server does not support partial search so this is expected behavior.
— Reply to this email directly, view it on GitHubhttps://github.com/temporalio/ui/issues/1282#issuecomment-1508989978, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD3MFTTSAZ4HSNNB75KAD33XBGBYZANCNFSM6AAAAAAW37RMIA. You are receiving this because you were mentioned.Message ID: @.***>