Grocery crud 1.6+ stable export filtered data

Hello,

I have a problem with filtering in DataTables with Grocery CRUD 1.6. I know that this is an old version of Grocery CRUD, but I have optimized some parts of it to make it compatible with newer PHP versions.

However, I cannot figure out why I am unable to fix the filtering in the search field and the Export button.

I am trying to export only the filtered data, but when I click the Export button, it exports all the data instead of only the filtered results.

Does the Export button in Grocery CRUD 1.6 not support DataTables filtering?

Also, how can I fix this? Is there something else I need to modify besides datatables.js?

Thank you in advance.

Regards,
Christos.