Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion service/frontend/workflow_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -4815,9 +4815,11 @@ func (wh *WorkflowHandler) ListBatchOperations(
Namespace: request.GetNamespace(),
PageSize: request.PageSize,
NextPageToken: request.GetNextPageToken(),
Query: fmt.Sprintf("%s = '%s' and %s = '%s'",
Query: fmt.Sprintf("(%s = '%s' or %s = '%s') and %s = '%s'",
searchattribute.WorkflowType,
batcher.BatchWFTypeProtobufName,
searchattribute.WorkflowType,
batcher.BatchWFTypeName,
searchattribute.TemporalNamespaceDivision,
batcher.NamespaceDivision,
),
Expand Down
Loading
Loading