diff --git a/util/Migrator/DbScripts/2021-07-22_00_Provider.sql b/util/Migrator/DbScripts/2021-07-22_00_Provider.sql index 4bdd8f06e..62f15e1cc 100644 --- a/util/Migrator/DbScripts/2021-07-22_00_Provider.sql +++ b/util/Migrator/DbScripts/2021-07-22_00_Provider.sql @@ -1363,7 +1363,7 @@ BEGIN [Date] >= @StartDate AND (@BeforeDate IS NOT NULL OR [Date] <= @EndDate) AND (@BeforeDate IS NULL OR [Date] < @BeforeDate) - AND [Providerid] = @ProviderId + AND [ProviderId] = @ProviderId ORDER BY [Date] DESC OFFSET 0 ROWS FETCH NEXT @PageSize ROWS ONLY