I think there is a bug in a global search (globalFilter). From some reason, it works when the data is only ahead.
For example, if the the first page of the datatable is selected, then the globalFilter finds any value that is requested.
However, if I select any page that is further the datatable, the globalFilter will not find any values that are in the previous pages.
please check it.