Hi community, I have a search field in the form, and the filter I want to do here is hide certain records if the contact is not associated with a customer nameHere is the data without filters through advanced search:

This is my JavaScript code
//Cliente: '{{user.cr6e3_cliente}}' -> 2-212
$(document).ready(function () {
var list = $("#cr6e3_mkt_elementoslistaprecios_lookupmodal").find(".entity-lookup").find(".entity-grid").eq(0);
list.on("loaded", function () {
var cliente = "{{user.cr6e3_cliente}}";
console.log("Tipo de cliente: " + cliente);
var primaryColumn = $("#cr6e3_cliente");
if (primaryColumn == cliente) {
list.find("table tbody > tr").each(function () {
var tr = $(this);
var others = $(tr).find('td[data-attribute="cr6e3_cliente"]').attr("data-value");
if (others != cliente ) {
tr.remove();
}
});
}
});
});
This is what I hope will come out, from the associated client, in this case the client password is 2-212.

Can anybody help me out here ?
Cheers folks.