Skip to content

Fixed SQL content filter on IMonitoringApi.PostgreSql.cs#814

Merged
xiangxiren merged 1 commit intodotnetcore:masterfrom
mviegas:fix/postgres-content-filter
Mar 30, 2021
Merged

Fixed SQL content filter on IMonitoringApi.PostgreSql.cs#814
xiangxiren merged 1 commit intodotnetcore:masterfrom
mviegas:fix/postgres-content-filter

Conversation

@mviegas
Copy link
Contributor

@mviegas mviegas commented Mar 29, 2021

Was trying to filter the Dashboard by some of the message properties (content) and it was not working. After investigating, found out that the generated SQL as wrong. Since the % is already placed within the NpgsqlParameter on the line 94, the filter on the line 84 was wrongly placed and can be simplified.

This fixes this issue and the content filter now behaves properly.

@xiangxiren xiangxiren merged commit 641d4ac into dotnetcore:master Mar 30, 2021
@mviegas mviegas deleted the fix/postgres-content-filter branch March 30, 2021 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants