How to disable the table state saving?
By default, the DataTables Extension stores information like pagination position, display length, filtering, sorting, etc., using the browser. This way, when the page is reloaded, you don't lose your place. DataTables calls this the "state" of the table.
For some applications, you may want to ensure that the view state is not kept in the browser, so you'll need to disable this setting on your DataTables view. To accomplish that, add the following code to your theme's functions.php file: