How to filter frappe listview using LIKE operator?

I am trying to filter a frappe listview using frappe.route_options under the frappe.listview_settings but it always sets it to equals. Below is what I have tried so far. Thanks!

frappe.listview_settings['Referral'] = {
  onload(listview) {
    frappe.route_options = [['referred_from', 'LIKE', '%' + value + '%']];
  },
};

Hi @Jean_Francois_Munyan Please try to use this.

frappe.listview_settings['Referral'] = {
    onload : function(listview) {
        frappe.route_options = {
            "name": ['like', "test"]
          };
        listview.refresh();
    }
};

Hello @Safvan_Ph, This works fine thank you!