diff --git a/internal/web/handler.go b/internal/web/handler.go index 4a78ca9..4c76f36 100644 --- a/internal/web/handler.go +++ b/internal/web/handler.go @@ -1590,10 +1590,9 @@ const queryLogHTML = ` table = new Tabulator('#requests-table', { ajaxURL: '/api/events', ajaxRequestFunc: ajaxRequest, - ajaxResponse: function(url, params, response) { - scheduleRefresh(); - updateControlsSummary(); - return response.data || response.items || []; + dataReceiveParams: { + data: 'items', + last_page: 'last_page', }, layout: 'fitColumns', responsiveLayout: 'hide',