Link Filter in side bar

I have added a link type field (city) in job opening doctype. Since city is link type, I can’t select ‘in filter’ option for city field.

I want to achieve ‘in filter’ thing with link type field (city).

Any leads would be appreciated.

@neeraj_yadav,

Go to Doctype List. Client the desired Doctype you want to edit then client the field city. You can see an option In Filter please check it and save.

Chris
Bai Web and Mobile Labs
https://bai.ph

currently, only select field is allowed in listview sidebar filters. Though you can add the Link fields in stats so that it will be available for filtering. check the listview.js.

Thanks, Makarand

Hey Thanks Makarand,

I modified the code in listview.js to include link type , it worked.

This thread can be closed now.