Filtering results in a link


I’ve created a custom doctype field that’s linked to another doctype, happens that the other doctype has a field named ‘fruit’, and I would like to filter by fruit, I meant, if a doctype has banana as fruit, I would like to filter all of them which has banana as fruit.

can someone helpme please

1 Like


check the get_query method in js to filters the link fields.

Thanks, Makarand

1 Like

thanks @makarand_b it’s great