Remove "Name" filter from list view

I was excited to fix my issue with not being able to remove the “name” column from list view - here --> Cannot remove "Name" column from list view (Healthcare)

But then I realized I need/want to remove the “Name” filter from that same page. I am assuming it will be as simple as adding a bit to my script added in Client Scripts but am unsure of the syntax. I wonder if anyone has an advice or can point me in the direction of an ERPNext syntax manual. I’m very new to Python but fairly comfortable with PHP and feel some similarities so I’m hoping it won’t take me too long to get up to speed. :slight_smile:

Cheers

Jason

57

Just following up on my inquiry here…I see the following in patient.js

filters: [
	['Patient', 'name', '!=', frm.doc.name]
		]

But I’m not sure

  1. if this is where the filter is being called and
  2. if it is, how I can change this to make it go away.

I tried commenting this out but doing so didn’t seem to change anything.