Skip to content

Commit

Permalink
494910: Make endpoint match UI control
Browse files Browse the repository at this point in the history
Switch this to a global regex on serviceName, rather than an exact
match. This then matches all other serviceName search autocompletes
  • Loading branch information
feedmypixel committed Jan 15, 2025
1 parent 52488d5 commit 17bc760
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public async Task<Paginated<DeploymentV2>> FindLatest(string? environment, strin
if (!string.IsNullOrWhiteSpace(service))
{
var serviceFilter = builder.Regex(d => d.Service,
new BsonRegularExpression($"^{service}", "i"));
new BsonRegularExpression(service, "i"));
filter &= serviceFilter;
}

Expand Down

0 comments on commit 17bc760

Please sign in to comment.