Need to hide the filter but the above box should be present


So basically I am adding the filter in the code, by using “frappe.listview_settings”. According to the filter the data is getting sorted out. But here i am facing the problem, the country name should be present(Text box should be visible) and the sorting should happen according to the country name and the filter should be hidden(Filter invisible).
Screenshot from 2024-05-20 11-06-17

I think, the version is older.


Can we do any changes in the same version without updating because our team have done some changes in the core frappe itself.