Problems filters in script report

Hello guys,

I have a script report and when I try filter in the search fields located under each column header, and then to print only this records, all record are being printing. In the version 4 it works fine, also I
checked in other reports of version 5 and it happened the same problem.
In addition to , when I filter for this fields the total row is not showing.

Can you post this on Issues · frappe/erpnext · GitHub

the post is already on git, thanks
Problems filters in script report · Issue #3747 · frappe/erpnext · GitHub