Skip to content

Commit 1298b80

Browse files
authored
Fix ListBatchOperations list filter (#8160)
## What changed? Change the backing query to avoid filtering on a specific workflow type since we now have two types for the transition period. ## Why? Fix for a bug introduced in #8081
1 parent eb1d0df commit 1298b80

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

service/frontend/workflow_handler.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4824,9 +4824,7 @@ func (wh *WorkflowHandler) ListBatchOperations(
48244824
Namespace: request.GetNamespace(),
48254825
PageSize: request.PageSize,
48264826
NextPageToken: request.GetNextPageToken(),
4827-
Query: fmt.Sprintf("%s = '%s' and %s = '%s'",
4828-
searchattribute.WorkflowType,
4829-
batcher.BatchWFTypeProtobufName,
4827+
Query: fmt.Sprintf("%s = '%s'",
48304828
searchattribute.TemporalNamespaceDivision,
48314829
batcher.NamespaceDivision,
48324830
),

0 commit comments

Comments
 (0)