Skip to content

Commit 3a45fc8

Browse files
committed
Fix wrong page counter on date filter.
1 parent 2320d08 commit 3a45fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Ui.PostgreSqlProvider/PostgreDataProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public PostgresDataProvider(RelationalDbOptions options)
2828
)
2929
{
3030
var logsTask = GetLogsAsync(page - 1, count, logLevel, searchCriteria, startDate, endDate);
31-
var logCountTask = CountLogsAsync(logLevel, searchCriteria);
31+
var logCountTask = CountLogsAsync(logLevel, searchCriteria, startDate, endDate);
3232

3333
await Task.WhenAll(logsTask, logCountTask);
3434

0 commit comments

Comments
 (0)